I am trying to send a response message from my consumer using the JMSReplyTo.
When I try to create a MessageProducer using either of the following calls, I
get an AbstractMethodError.
MessageProducer producer = session.createProducer(null);
MessageProducer producer = session.createProducer(dest);
If I switch to using ActiveMQ, the above works fine, and my integration tests
pass. Is this a bug? Here is the stacktrace, though I doubt it will be very
helpful.
Exception in thread "MessageListenerThread - OrchOutputQueue"
java.lang.AbstractMethodError:
org.jboss.mq.SpyQueueSession.createProducer(Ljavax/jms/Destination;)Ljavax/jms/MessageProducer;
at
com.shps.da.ids.service.jms.ReplyProducerImpl.send(ReplyProducerImpl.java:33)
at
com.shps.da.ids.service.jms.AbstractMessageHandler.send(AbstractMessageHandler.java:77)
at
com.shps.da.ids.service.jms.AbstractMessageHandler.send(AbstractMessageHandler.java:72)
at
com.shps.da.ids.service.jms.RequestStartupInfoHandler.doOnMessage(RequestStartupInfoHandler.java:38)
at
com.shps.da.ids.service.jms.AbstractMessageHandler.onMessage(AbstractMessageHandler.java:45)
at
com.shps.da.ids.service.jms.MessageRouter.onMessage(MessageRouter.java:43)
at org.jboss.mq.SpyMessageConsumer.run(SpyMessageConsumer.java:546)
at java.lang.Thread.run(Thread.java:595)
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3903861#3903861
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3903861
-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user