diff options
Diffstat (limited to 'java/client/example/src')
-rw-r--r-- | java/client/example/src/main/java/org/apache/qpid/example/jmsexample/hello/Hello.java | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/java/client/example/src/main/java/org/apache/qpid/example/jmsexample/hello/Hello.java b/java/client/example/src/main/java/org/apache/qpid/example/jmsexample/hello/Hello.java index 3de1bd2a61..8fa8191de9 100644 --- a/java/client/example/src/main/java/org/apache/qpid/example/jmsexample/hello/Hello.java +++ b/java/client/example/src/main/java/org/apache/qpid/example/jmsexample/hello/Hello.java @@ -44,11 +44,6 @@ public class Hello { ConnectionFactory connectionFactory = (ConnectionFactory) context.lookup("qpidConnectionfactory"); Connection connection = connectionFactory.createConnection(); - connection.setExceptionListener(new ExceptionListener() { - public void onException(JMSException e) { - e.printStackTrace(); - } - }); connection.start(); Session session = connection.createSession(false, Session.AUTO_ACKNOWLEDGE); |