Re: JMS ConnectionFactory

2008-12-10 Thread David Blevins
On Dec 5, 2008, at 8:46 AM, Oliver Günther wrote: Also, if the server should use the same ConnectionFactory as the remote client (which is needed, then the client and and a server bean what to send/receive messages on the same topic/queue) the openejb.xml needs to be changed: BrokerXmlC

Re: JMS ConnectionFactory

2008-12-05 Thread Oliver Günther
sage in context: http://www.nabble.com/JMS-ConnectionFactory-tp20610921p20857906.html Sent from the OpenEJB User mailing list archive at Nabble.com.

Re: JMS ConnectionFactory

2008-12-03 Thread Dain Sundstrom
Excellent answer. You should throw this into the faq (http://openejb.apache.org/faq.html ) -dain On Nov 27, 2008, at 5:29 AM, Jonathan Gallimore wrote: I don't think there's an OpenEJB specific way to lookup the connection factory, but you could deploy a session bean like the MessageClien

Re: JMS ConnectionFactory

2008-11-27 Thread Jonathan Gallimore
I don't think there's an OpenEJB specific way to lookup the connection factory, but you could deploy a session bean like the MessageClientBean in the simple-mdb sample (https://svn.apache.org/repos/asf/openejb/trunk/openejb3/examples/simple-mdb/src/main/java/org/superbiz/mdb/MessagingClientBean.

Re: JMS ConnectionFactory

2008-11-27 Thread Oliver Günther
MS >> ConnectionFactory's via JINI requestable and what are the default >> names. >> >> - >> Olli > > > -- View this message in context: http://www.nabble.com/JMS-ConnectionFactory-tp20610921p20717939.html Sent from the OpenEJB User mailing list archive at Nabble.com.

Re: JMS ConnectionFactory

2008-11-24 Thread Dain Sundstrom
Create a field like this in your EJB (or Servlet in Tomcat embedded mode). @Resource ConnectionFactory connectionFactory; IIRC the JNDI name of the connectionFactory is logged during setup, but I suggest you use injection instead of JNDI as it is way more portable. -dain On Nov 20, 2008

JMS ConnectionFactory

2008-11-20 Thread Oliver Günther
Hi, if OpenEJB running in embedded and remoteable mode are there any JMS ConnectionFactory's via JINI requestable and what are the default names. - Olli