createSession = createSubscription(destination, reg.isDurable());
}
PushConsumer consumer = new PushConsumer(sessionFactory, reg.getDestination(), reg.getId(), reg);
try
{
consumer.start();
}
catch (Exception e)
{
consumer.stop();
throw new Exception("Failed starting push subscriber for " + destination + " of push subscriber: " + reg.getTarget(), e);