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
sage in context:
http://www.nabble.com/JMS-ConnectionFactory-tp20610921p20857906.html
Sent from the OpenEJB User mailing list archive at Nabble.com.
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
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.
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.
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
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