Re: Unable to create MessageProducer

2007-11-13 Thread jack
(final JMSException e) { > > > >> e.printStackTrace(); > > > >> } > > > >> } > > > >> } > > > > > > > > This is an inefficient way of using JMS BTW... > > > > >

Re: Unable to create MessageProducer

2007-11-13 Thread jack
ent way of using JMS BTW... > > > > > > http://activemq.apache.org/how-do-i-use-jms-efficiently.html > > > > > > you should try pool producers if you can. > > > > > > > > >> >"You night wanna enable failover...&qu

Re: Unable to create MessageProducer

2007-11-13 Thread James Strachan
jms-efficiently.html > > > > you should try pool producers if you can. > > > > > >> >"You night wanna enable failover...": > >> We have only been assigned one port for the broker (specified obviously > >> as > >> part of the brok

Re: Unable to create MessageProducer

2007-11-12 Thread TOPPER_HARLEY
er causes the client to reconnect to the broker if the socket dies. > > >> my >> understanding of failover is that you need more than one URI and AMQ >> switches to another one if one broker goes down: > > Not true - it works fine with a single broker URI > > -- > James > --- > http://macstrac.blogspot.com/ > > Open Source SOA > http://open.iona.com > > -- View this message in context: http://www.nabble.com/Unable-to-create-MessageProducer-tf4782623s2354.html#a13709793 Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: Unable to create MessageProducer

2007-11-12 Thread James Strachan
On 12/11/2007, TOPPER_HARLEY <[EMAIL PROTECTED]> wrote: > >"It could just be the socket has been dropped.": > Is socket dropping a common occurence or simply related to the quality of > the network one is running on (my TCP level knowledge isn't great). Its normally a glitch in the network - or th

Re: Unable to create MessageProducer

2007-11-12 Thread TOPPER_HARLEY
cessor time to ping it if there is load? >> >> My XML defines one transport connector of the form >> tcp://localhost:61616?wireFormat.maxInactivityDuration=0 >> >> What can I do to workaround this issue? Can I catch the exception and try >> to >> restart the

Re: Unable to create MessageProducer

2007-11-12 Thread James Strachan
omehow, although that feels like a bad solution? If I > switched to a "vm:" style URI would it make it easier to keep transport > alive? > > Any help is much appreciated as this has us stumped... > > /Tom > > -- > View this message in context: > http:/

Unable to create MessageProducer

2007-11-10 Thread TOPPER_HARLEY
m -- View this message in context: http://www.nabble.com/Unable-to-create-MessageProducer-tf4782623s2354.html#a13682284 Sent from the ActiveMQ - User mailing list archive at Nabble.com.