You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by Bummer <sa...@gmail.com> on 2007/06/12 03:54:16 UTC

Re: Using JCA for outbound to JMS?

I got stuck with the problem and I found out that you were having the same
problem 
(Referencing objs. defined in the tx.xml, jndi.xml,... from an xbean.xml)
I couldn't find the answer yet and I was wondering if you can re-direct me
to the spot.
Sorry for the inconvinence... 
Thanks a lot.

Annette wrote:
> 
> After a little searching on this forum, I found an example using the
> transactionManager. So, no reply is needed now.
> 
> Annette wrote:
>> 
>> Can you show an example of using jndi in an xbean.xml file or point to an
>> example. I have a jms endpoint that needs to reference the
>> bootstrapContext bean that is defined in the tx.xml file and an entry is
>> defined in the jndi.xml file. The tx.xml and jndi.xml files are imported
>> in the servicemix.xml file. But how do I reference the boostrapContext
>> bean from an xbean.xml  file which makes upa a service-unit.
>> 
>> gnodet wrote:
>>> 
>>> If you take a look at the latest distributions, you will see a
>>> conf/tx.xml
>>> which setup all the jca layers using jencks.  The conf/jndi.xml can be
>>> used
>>> to create managed jms connection factories that you can later reference
>>> in
>>> your endpoints.
>>> 
>>> Cheers,
>>> Guillaume Nodet
>>> 
>>> On 6/22/06, fucema <fu...@gmail.com> wrote:
>>>>
>>>>
>>>> Does anyone have experience using JCA for outbound messaging?
>>>>
>>>> I use the JCA container for processing inbound JMS messages.
>>>>
>>>> Is it possible or feasible for using it to send outbound JMS messages
>>>> also?
>>>> I referenced http://www.jencks.org/Outbound+JMS but the example was
>>>> unclear.
>>>>
>>>> If the JCA cannot be used for outbound messages, what is the best
>>>> alternative or configuration to avoid bottlenecks at the outbound JMS
>>>> sender? Currently I use the PooledConnectionFactory backed by an
>>>> ActiveMQConnectionFactory and I want to make sure there is not a better
>>>> alternative if necessary (hypothetical).
>>>>
>>>> --
>>>> View this message in context:
>>>> http://www.nabble.com/Using-JCA-for-outbound-to-JMS--t1827601.html#a4985510
>>>> Sent from the ServiceMix - User forum at Nabble.com.
>>>>
>>>>
>>> 
>>> 
>> 
>> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Using-JCA-for-outbound-to-JMS--tf1827601s12049.html#a11071744
Sent from the ServiceMix - User mailing list archive at Nabble.com.