Re: Subscriber throws errors and dies when using multiple openwire JMS client

2011-05-13 Thread Gary Tully
sage in context: > http://activemq.2283324.n4.nabble.com/Subscriber-throws-errors-and-dies-when-using-multiple-openwire-JMS-client-tp3509914p3518560.html > Sent from the ActiveMQ - User mailing list archive at Nabble.com. > -- http://blog.garytully.com http://fusesource.com

Re: Subscriber throws errors and dies when using multiple openwire JMS client

2011-05-12 Thread jai.mathaiyan
is a simple fix, can it be available on the 5.3.1 branch ? Thanks Jai -- View this message in context: http://activemq.2283324.n4.nabble.com/Subscriber-throws-errors-and-dies-when-using-multiple-openwire-JMS-client-tp3509914p3518560.html Sent from the ActiveMQ - User mailing list archive at

Re: Subscriber throws errors and dies when using multiple openwire JMS client

2011-05-11 Thread Gary Tully
>                        } >                } >        } > >        public TextMessage getTextMessage(String payload) throws JMSException{ >                return session.createTextMessage(payload); > >        } > > >        public void print(Object text){ >                System.out.println(text.toString()); >        } > > >        public static void main(String[] args) throws Exception { >                JMSClient client = new JMSClient(false,"c.c.p.v.ism.device"); >                //TextMessage message = client.getTextMessage("This is a > test"); >                //client.sendMessage(message,1,0); >                //Thread.sleep(10); >                //client.tearDown(); >        } > >        @Override >        public void onException(JMSException exception) { >                System.out.println("Exception detected.."); >                exception.printStackTrace(); > >        } > > > } > > > -- > View this message in context: > http://activemq.2283324.n4.nabble.com/Subscriber-throws-errors-and-dies-when-using-multiple-openwire-JMS-client-tp3509914p3509914.html > Sent from the ActiveMQ - User mailing list archive at Nabble.com. > -- http://blog.garytully.com http://fusesource.com

Subscriber throws errors and dies when using multiple openwire JMS client

2011-05-09 Thread jai.mathaiyan
verride public void onException(JMSException exception) { System.out.println("Exception detected.."); exception.printStackTrace(); } } -- View this message in context: http://activemq.2283324.n4.nabble.com/Subscriber-throws-errors-and-dies-when-using-multiple-openwire-JMS-client-tp3509914p3509914.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.