Thank you very much for replying! I have switched to using resin 4.0 now and
I did use @javax.inject.Inject annotation but that didn't seem to work
My configuration in the resin-web.xml file is:
I have added in the resin.xml, the resource-deploy path
And I have put activeMQ .rar file in the deploy dir. I have modififed ra.xml
and brokerConfig.xml to use the
vm://localhost as I want to use the ActiveMQ embedded broker.
I don't need JCA configuration if by that you mean XA transaction. A simple
configuration (non-JCA) one would be great! I was unable to get
connectionFactory reference using the Inject annotation but if I
do jndi lookup, it is able to find it:
ConnectionFactory cFactory = (ConnectionFactory)
I can't get jms queue references either using @Named annotation but I can
create the queue after I get the connection and the session.
My next issue is how to make MDB listener listen on the same queue since now
it's not wired through the configuration. Is my MDB ejb configuration in the
resin-web.xml file correct? did it change in 4.0?
Thank you so much for helping out!
Scott Ferguson wrote:
> On 2/6/13 10:09 AM, Sadhana Jain wrote:
>> Hello Resin Developers,
>> Could you please confirm if the ActiveMQ integration is supported and
>> will work with Resin 4.0? I don't see any documentation on it and
>> therefore am unable to figure out how to configure the jms queue in
>> the resin-web.xml file. The old way (resin 3.x) of configuring it
>> doesn't seem to work. Also, I am trying to find out how to get the
>> sources for JMSQueue implementation so I can debug the issue myself.
>> Could someone please help me?
> I'll need to update the docs (and test with ActiveMQ). The example you
> gave used a very old draft of CDI (before it was called CDI.)
> The injection annotation is @javax.inject.Inject.
> Do you need JCA? (For example, for XA support.) If you don't, the
> non-JCA configuration would be simpler.
> -- Scott
>> Thanks a lot,
>> resin-interest mailing list
> resin-interest mailing list
View this message in context:
Sent from the Resin mailing list archive at Nabble.com.
resin-interest mailing list