Mantis - Resin
Viewing Issue Advanced Details
2937 minor always 09-15-08 09:16 10-09-08 14:59
ferg  
ferg  
normal  
closed  
fixed  
none    
none 3.2.1  
0002937: JCA ActiveMQ issue
(rep by Reggie Vito)

I am using the Resin 3.2 version with a Message Driven Bean listening to an ActiveMQ Queue remotely connected through JCA with the ActiveMQ 5.1.0 RAR file. Below is my configuration in the resin-web.xml

<web-app xmlns="http://caucho.com/ns/resin"> [^]
<resource-adapter class="org.apache.activemq.ra.ActiveMQResourceAdapter">
    <init server-url="tcp://localhost:61616"/> [^]
</resource-adapter>
  <connection-factory class="org.apache.activemq.ra.ActiveMQManagedConnectionFactory" name="manfactory"/>
  
  <jms-queue name="testResinConQueue" class="org.apache.activemq.command.ActiveMQQueue">
  <init physicalName="testResinConQueue"/>
  </jms-queue>
  
<ejb-message-bean class="com.test.ejb.ConsumerMessageBean">
  <destination>#{testResinConQueue}</destination>
  </ejb-message-bean>
</web-app>

The issue I am observing is that although I see the messages being delivered to the MDB successfully, the messages themselves are not
removed from the ActiveMQ Queue resulting in the MDB receiving the same messages everytime resin starts.



There are no notes attached to this issue.