}
public Session createSession(long expiryInSeconds)
{
Channel ch = _conn.getChannel();
ClientSession ssn = new ClientSession(UUID.randomUUID().toString().getBytes());
ssn.attach(ch);
ssn.sessionAttach(ssn.getName());
ssn.sessionRequestTimeout(expiryInSeconds);
return ssn;
}