how to safely delete a cms::MessageListener object

2015-01-14 Thread Steve Rice
Since the onMessage() function runs in a separate thread, how do I safely delete a cms::MessageListener object in the main thread using C++11? If the reply I am looking for never comes, I want to give up on listening for it and throw away this object. But what if in the process of deleting this o

Re: Openwire transport listening on two or more different ports.

2015-01-14 Thread artnaseef
Just make sure they have different names - otherwise, things could get confusing. However, I don't think the name would impact operation. -- View this message in context: http://activemq.2283324.n4.nabble.com/Openwire-transport-listening-on-two-or-more-different-ports-tp4689882p4689924.html Se

Re: Should I still use idleTimeout=0 which ActiveMQ 5.10.0 after the bug fix in ActiveMQ 5.8.0

2015-01-14 Thread Timothy Bish
On 01/13/2015 08:04 AM, xabhi wrote: There was this bug in ActiveMQ v 5.8.0 ( https://issues.apache.org/jira/browse/AMQ-4366 ) which was worked around by setting idleTimeout to 0 in connection factory. I have upgraded my setup to ActiveMQ 5.10.0.

Re: ActiveMq 5.11

2015-01-14 Thread Timothy Bish
On 01/14/2015 11:48 AM, MillieretXavier wrote: Hi all, Do you know when the next release will be available (5.11)? Regards -- View this message in context: http://activemq.2283324.n4.nabble.com/ActiveMq-5-11-tp4689918.html Sent from the ActiveMQ - User mailing list archive at Nabble.com. T

ActiveMq 5.11

2015-01-14 Thread MillieretXavier
Hi all, Do you know when the next release will be available (5.11)? Regards -- View this message in context: http://activemq.2283324.n4.nabble.com/ActiveMq-5-11-tp4689918.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: Openwire transport listening on two or more different ports.

2015-01-14 Thread mclaudio76
OK, sorry... I wasn't able to find documentation by myself. -- View this message in context: http://activemq.2283324.n4.nabble.com/Openwire-transport-listening-on-two-or-more-different-ports-tp4689882p4689916.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: Openwire transport listening on two or more different ports.

2015-01-14 Thread Timothy Bish
On 01/14/2015 11:22 AM, mclaudio76 wrote: ok, but how ? is it just enough to place two definitions of openwire transport in configuration file ? Can you give me an example ? -- View this message in context: http://activemq.2283324.n4.nabble.com/Openwire-transport-listening-on-two-or-mor

Re: Openwire transport listening on two or more different ports.

2015-01-14 Thread mclaudio76
ok, but how ? is it just enough to place two definitions of openwire transport in configuration file ? Can you give me an example ? -- View this message in context: http://activemq.2283324.n4.nabble.com/Openwire-transport-listening-on-two-or-more-different-ports-tp4689882p4689911.html Sen

Re: Message is moved to DLQ without clear cause

2015-01-14 Thread Tim Bain
Can you reproduce this in a standalone debugging environment (not production)? Maybe not right away, but reasonably? Because you could start the broker with the debugging port opened and attach Eclipse (or your favorite debugger) to the broker process, then set a breakpoint on the line in Queue.j

using org.fusesource.leveldbjni.JniDBFactory for leveldb giving error

2015-01-14 Thread kal123
when i use indexFactory="org.fusesource.leveldbjni.JniDBFactory" i am getting following errors o.a.a.l.LevelDBClient [Log.scala:112] Could not load factory: org.fusesource.leveldbjni.JniDBFactory due to: java.lang.UnsatisfiedLinkError: Could not load library. Reasons: [no leveldbjni64-1.8 in java.

Re: Consumer hanging after a producer fails for being inactive

2015-01-14 Thread errobin
We are currently testing a work around for this issue. Since our broker has Persistent set to false and our producers are just using default settings which is causing them to send their messages with Persistent = true. We are changing the producer to set Persistent = false which seems to fix the is

Re: Message is moved to DLQ without clear cause

2015-01-14 Thread gijsbert802
I tried that, but I only see that a message is being sent to my "incoming" queue and then some time later it is sent to the DLQ. There are no other references to that message-id in the logs. Something like this: 2015-01-14 14:18:39,473 DEBUG o.a.activemq.broker.region.Queue - localhost Message ID

Re: Message is moved to DLQ without clear cause

2015-01-14 Thread Tim Bain
You might get more insight by turning on debug logging in the broker. See http://activemq.apache.org/how-do-i-enable-debug-logging.html. On Jan 14, 2015 3:10 AM, "gijsbert802" wrote: > I'm using camel to consume messages from an ActiveMQ queue. We don't want > automatic redeliveries, so I've set

Re: Openwire transport listening on two or more different ports.

2015-01-14 Thread Tim Bain
Yes, it's possible. On Jan 14, 2015 1:38 AM, "mclaudio76" wrote: > Good morning, > > i need your help on a configuration detail. Is it possibile to configurate > ActiveMQ so that openwire protocol listens on both port A and port B, on > the > same interface ? Actually I have setup openwire transp

Message is moved to DLQ without clear cause

2015-01-14 Thread gijsbert802
I'm using camel to consume messages from an ActiveMQ queue. We don't want automatic redeliveries, so I've set MaximumRedeliveries on the activemq connection to 0 (by setting a RedeliveryPolicy on ActiveMQConnectionFactory). This works except that occasionally a message is now moved to the DLQ with

Openwire transport listening on two or more different ports.

2015-01-14 Thread mclaudio76
Good morning, i need your help on a configuration detail. Is it possibile to configurate ActiveMQ so that openwire protocol listens on both port A and port B, on the same interface ? Actually I have setup openwire transport as usual: I wonder if is possibile to specify two entry to have for exa