EHC ❯ jms replication and Oracle AQ
-
Bug
-
Status: Open
-
3 Minor
-
Resolution:
-
ehcache-jmsreplication
-
-
-
Reporter: sourceforgetracker
-
September 21, 2009
-
1
-
Watchers: 1
-
January 06, 2010
-
Description
ehcache-jms-replication version 0.4 is not working with Oracle AQ. When jms-replication tries to send(publish) a message to the Topic AQ gives the following message: JMS-107: Operation not allowed on TopicPublisher. It is not allowed to call the send method on TopicPublisher, you have to call the publish method instead.
In JMSCacheManagerPeerProvider.java the created TopicPublisher is passed to the constructor of JMSCachePeer.java In JMSCachePeer.java the TopicPublisher is assigned to a class member of type MessageProducer. The type MessageProducer has to be changed to TopicPublisher and instead of the send method, the publish method has to be called in the send method of the JMSCachePeer.java class.
Sourceforge Ticket ID: 2817660 - Opened By: hsdpe - 6 Jul 2009 21:43 UTC
Comments
Sourceforge Tracker 2009-09-21
Fiona OShea 2010-01-06
Assigning these issues to Greg, so that he can decide what to do with them.
I applied your change which worked perfectly with Open MQ.
For ActiveMQ it did not. Only one test is breaking so I am looking into it. The problem happens with both 5.1 and 5.2
Comment by: gregluck - 13 Jul 2009 02:50 UTC