Steffen Ewert wrote:
Thanks Daniel!
I think my problem is the missing @ResourceAdapter annotation. But, do you
know in which jar I can find the org.jboss.annotation.ejb.ResourceAdapter
annotation? I work on JBoss 4.2.2GA and i can't find the package
"org.jboss.annotation" anywhere ... :-( Mu
t;),
>> @ActivationConfigProperty(propertyName="acknowledgeMode",
>> propertyValue="Auto-acknowledge")
>> })
>> @ResourceAdapter("activemq-rar-4.1.1.rar")
>> public class TestBean implements MessageListener {
>>
> public TestBean() {
> }
>
> public void onMessage(Message message) {
> }
>
> }
>
> --
>
>
> ---
> Ready Technology Limited
> Incorporated in England
I've seen numerous postings regarding ActiveMQ with EJB3, and variations
of a datasource XML file for use with JBoss integration.
However, they don't quite work. Here is what worked for me, it is
actually quite simple:
1. Don't use any datasource file - only the RA file is required. Put