Fixed the issue in the trunk, Sample has not tested after the recent transport changes so had to make few changes to the consumer using JMS API directly (It was using the JMSUtils initially). Tested with ActiveMQ-4.1.2 and 5.1.
- Asanka

Andreas Veithen wrote:
Asanka,

When executing "ant mddconsumer -Djms_topic=mdd.MSFT", I get the
following error message:

mddconsumer:
     [java] Exception in thread "main"
javax.jms.IllegalStateException: Operation not supported by a
QueueSession
     [java]     at
org.apache.activemq.ActiveMQQueueSession.createTopic(ActiveMQQueueSession.java:276)
     [java]     at samples.userguide.MDDConsumer.run(Unknown Source)
     [java]     at samples.userguide.MDDConsumer.main(Unknown Source)

I'm using ActiveMQ 4.1.2.

Andreas

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]




---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to