Re: Broker Memory Usage is 100% and tries to flush to disk with Null Pointer Exception

2014-04-13 Thread peterchenadded
Please note we are using the following: ActiveMQ: 5.5.1 Jrockit: Oracle JRockit(R) (build R28.2.4-14-151097-1.6.0_33-20120618-1634-linux-x86_64, compiled mode) artnaseef wrote > If I understand correctly, the issue is reaching 100% memory usage. Are > the attempts to increase memory usage by s

Re: Behavior when a message expires while it is processing

2014-04-13 Thread artnaseef
Haven't look at the camel code yet, but don't think I need to at this point - it appears to be working as-documented. ActiveMQ is expiring inflight messages. In other words, the following is happening (from the broker's perspecive): camel consumer for queue.start is started message produced t

Re: Behavior when a message expires while it is processing

2014-04-13 Thread artnaseef
Curious example. This actually appears to be more of a camel question than an ActiveMQ question. Wearing my ActiveMQ hat, I see this: * message is produced to queue, queue.start, after manually setting JMSExpiration * message is consumed from queue in a transaction by camel * the camel exchange

Re: Wierd skipping of messages using Websocket/activeMQ

2014-04-13 Thread artnaseef
That's easy - Queue semantics. I recommend reading the JMS specification with a focus on understanding how Queues and Topics operate. With that said, let me clarify. Queues guarantee once-and-only-once message delivery (with some caveats related to ensuring clients actually processed messages).

Re: Can a producer and consumer running on different activemq versions exchange messages?

2014-04-13 Thread artnaseef
That warning indicates a problem with marshalling: I've seen that before, but I don't recall what was the cause. Under normal circumstance, with the client and broker agreeing on the openwire version, this should not happen unless somehow network packets are getting corrupted (highly unlikely).

Re: Can a produce and consumer running on different activemq versions exchange messages?

2014-04-13 Thread artnaseef
Assuming ActiveMQ version 5.9.0: -- View this message in context: http://activemq.2283324.n4.nabble.com/Can-a-produce-and-consumer-running-on-different-activemq-versions-exchange-messages-tp4680200p4680259.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: Broker Memory Usage is 100% and tries to flush to disk with Null Pointer Exception

2014-04-13 Thread artnaseef
If I understand correctly, the issue is reaching 100% memory usage. Are the attempts to increase memory usage by spamming the broker intended to reproduce the problem? To find where memory is being used, look at QueueSize, for Queues, and PendingQueueSize, for Topics, attributes of the Queue and