public void addRegistration(PushTopicRegistration reg) throws Exception
{
String destination = reg.getDestination();
ClientSession session = sessionFactory.createSession(false, false, false);
ClientSession.QueueQuery query = session.queueQuery(new SimpleString(destination));
ClientSession createSession = null;
if (!query.isExists())
{
createSession = createSubscription(destination, reg.isDurable());
}