TopicConnection topicConnection = topicConnectionFactory.createTopicConnection();
topicConnection.start();
return topicConnection;
} catch (NamingException e) {
throw new EventBrokerException("Can not create the initial context", e);
} catch (JMSException e) {
throw new EventBrokerException("Can not create topic connection", e);
} catch (Exception e){
throw new EventBrokerException("Can not create topic connection", e);
} finally {
if (initialContext != null){
try {
initialContext.close();
} catch (NamingException e) {