Re: Apache ActiveMQ From C# - switching queues

2024-12-10 Thread David Cole
Managed to solve this. It was actually relating to how one of the initial messages was added to the queue. It's submitted to another queue and is processed by an external system. The point is, when I submit it to the input queue, when it's processed, a message is added to "status" and then th

Re: Apache ActiveMQ From C# - switching queues

2024-12-09 Thread David Cole
Sorry. When i make that 2nd call to the 2nd queue for the correlation ID - even though there is a message there I get a null message. If I strip out the code and just directly connect to the 2nd queue and pull a message it is there. It is something in relation to one connection, or one consume

Re: Apache ActiveMQ From C# - switching queues

2024-12-09 Thread Justin Bertram
Maybe I missed it, but I don't understand what exactly the problem is. What exactly do you mean by, "here is where this gets unstuck"? Are you saying that when you try to receive a message from the "other" queue a message is not consumed even though a message is actually on the queue? Justin On

Apache ActiveMQ From C# - switching queues

2024-12-09 Thread David Cole
I have a process where I am consuming a message on a "status" queue. I make connection to an ActiveMQ server, create a session, create a consumer to "status" with a JMSCorrelationID set, start the connection and receive a message. Apache.NMS.IConnectionFactory factory = new Apache.NMS.ActiveMQ