Re: Active MQ viewing messages in queue

2017-03-29 Thread Tim Bain
One common cause of that exception is when you send an ObjectMessage whose object contains a class that's on the classpath of your producer and your consumer but not on the classpath of the broker. This could be a custom class you wrote, or something out of third-party library you depend on. Tim

Active MQ viewing messages in queue

2017-03-29 Thread hyrahul64
I just want to see content of message which have been queued in ActiveMQ queues. I opened web-console.(http://localhost:8161/admin/queues.jsp) and clicked on message-id of the message of queue. It gives me following error in "Message Details" window rather than giving content of message. "javax.

Re: Failed to connect to [tcp://localhost:61616?wireFormat.maxInactivityDurationInitalDelay=30000] after: 1 attempt(s)

2017-03-29 Thread sandra
Hi Tim Already solve the ActiveMQ problem, it was a configuration inside the config.xml file of the Sync application. Thanks for the help. -- View this message in context: http://activemq.2283324.n4.nabble.com/Failed-to-connect-to-tcp-localhost-61616-wireFormat-maxInactivityDurationInitalDel

Re: Can ActiveMQ reject a message on send?

2017-03-29 Thread Timothy Bish
The broker will validate on producer (sender) creation time that the sender is authorized to send to the destination that the link us targeted to, unless the link involves an anonymous sender in which case the message sends will be checked and an error returned. See this test case for some exa

Can ActiveMQ reject a message on send?

2017-03-29 Thread Vince Cole
A similar question was asked at the beginning of last year. http://stackoverflow.com/questions/29919469/intercept-incoming-jms-messages-to-activemq-reject-approve-based-on-rules However, I'm not convinced it was answered with a definite yes or no. Can anyone clear this up, one way or another, pl

Can ActiveMQ reject a message on send?

2017-03-29 Thread Vince Cole
A similar question was asked about a year ago. http://stackoverflow.com/questions/29919469/intercept-incoming-jms-messages-to-activemq-reject-approve-based-on-rules However, I'm not sure if it was absolutely answered with a definitive yes or no. Can anyone clear this up, one way or another, pleas

Re: JMSDestination value different between 5.12.1 and 5.13.0

2017-03-29 Thread chiippy
Hi Tim This is the test code that I am using : from(triggerEndpoint) .setHeader("JMSXGroupID", constant("product1grp")) .to("amq:topic:VirtualTopic.producer.channel1.test") .setHeader("JMSXGroupID", constant("product2grp")) .to("amq:

Re: JMSDestination value different between 5.12.1 and 5.13.0

2017-03-29 Thread chiippy
Hi Tim Thanks for the reply. Yes, I can get the OriginalDestination via the ActiveMQMessage but no as ideal as we are using JMSDesintion for routing all over the places. Is there any way I can override JMSDestination at the consumer side by intercepting the incoming Message ? Any side effect ?