RE: Network of Brokers - Putting/Getting from a queue

2015-10-01 Thread Tim Bain
Have you done the producerless test I described earlier? On Oct 1, 2015 8:38 AM, wrote: > Could this be an issue? > > BrokerA is where the consumer listens for the message. > > BrokerB is where the message is placed on the TEST queue. > > When the client app connects to BrokerA to listen, the MDB

Re: Activemq-cpp Synchronous Receive from Multiple Consumers

2015-10-01 Thread Tim Bain
You might be able to use Camel routes embedded in the broker to move messages from each topic into a single new queue. That would preserve message ordering even when the consumer is disconnected. Note that I've never used embedded Camel routes, so I can't say for sure that the approach would work

Re: ActiveMQ exits on startup with UTFDataFormatException: bad string

2015-10-01 Thread Tim Bain
Great, thank you! On Oct 1, 2015 11:01 AM, "gijsbert802" wrote: > Thanks Tim. > > I created an issue: https://issues.apache.org/jira/browse/AMQ-5995 > > > > > -- > View this message in context: > http://activemq.2283324.n4.nabble.com/ActiveMQ-exits-on-startup-with-UTFDataFormatException-bad-strin

Re: ActiveMQ and the Windows world

2015-10-01 Thread Jarmo Sorvari
On 01.10.2015 16:48, Jim Gomes wrote: You're welcome. You can use the NMS libraries from PowerShell. I've done it many times for writing test scripts and other things. It's actually quite easy. If you want some sample code, let me know. You can then take that into a full C# app with little diffic

Re: Activemq-cpp Synchronous Receive from Multiple Consumers

2015-10-01 Thread artnaseef
First off, there are no ordering guarantees for messages across more than one destination. The closest to a workable solution I believe you'll find for needing to serialize the work from messages across multiple destinations, without some form of internal queueing in the application, would involve

RE: Network of Brokers - Putting/Getting from a queue

2015-10-01 Thread barry.barnett
Apparently it is standard EJB behavior to create the queue when the client connects to listen on the broker. If this is the case, Application A connects to Broker A to consumer messages from TEST queue. TEST queue has been defined on Broker B and has a message on it. Application A will not con

Re: ActiveMQ exits on startup with UTFDataFormatException: bad string

2015-10-01 Thread gijsbert802
Thanks Tim. I created an issue: https://issues.apache.org/jira/browse/AMQ-5995 -- View this message in context: http://activemq.2283324.n4.nabble.com/ActiveMQ-exits-on-startup-with-UTFDataFormatException-bad-string-tp4701955p4702535.html Sent from the ActiveMQ - User mailing list archive at N

RE: Network of Brokers - Putting/Getting from a queue

2015-10-01 Thread barry.barnett
Could this be an issue? BrokerA is where the consumer listens for the message. BrokerB is where the message is placed on the TEST queue. When the client app connects to BrokerA to listen, the MDB automatically creates the TEST queue on BrokerA and listens there. So the message on BrokerB TES

RE: Network of Brokers - Putting/Getting from a queue

2015-10-01 Thread Tim Bain
Stop testing with a producer; it's completely irrelevant. Messages traverse a network of brokers because they are pulled by consumers, not because they are pushed by producers. So everything you need to know about the operation of a network of brokers can be determined by examining the interaction

RE: Network of Brokers - Putting/Getting from a queue

2015-10-01 Thread barry.barnett
So the client connected to brokerB and put a message, but this created a queue called TEST as well. Now we have queue TEST on broker A and queue TEST on brokerB as well. So the listener on BrokerA is listening to TEST queue on BrokerA, and no one is listening to TEST queue on BrokerB. Do I ne

Re: ActiveMQ and the Windows world

2015-10-01 Thread Jim Gomes
You're welcome. You can use the NMS libraries from PowerShell. I've done it many times for writing test scripts and other things. It's actually quite easy. If you want some sample code, let me know. You can then take that into a full C# app with little difficulty. On Thu, Oct 1, 2015, 12:05 AM Jar

RE: Network of Brokers - Putting/Getting from a queue

2015-10-01 Thread Tim Bain
On Oct 1, 2015 7:02 AM, wrote: > > Have you disabled advisory messages and/or explicitly included/excluded any destinations? > I have added nothing in the activemq.xml file to exclude advisory messages, etc. > > And have you done anything to prevent the broker from auto-creating destinations? > A

Re: Network of Brokers: XAException on Failover

2015-10-01 Thread Tim Bain
BTW, I'm not convinced that a different network topology will avoid the exception you first asked about. Someone who knows XA transactions (which is not me, sorry) needs to look at that. On Oct 1, 2015 7:06 AM, "Tim Bain" wrote: > A network of brokers can be used for HA as long as the network to

Re: Network of Brokers: XAException on Failover

2015-10-01 Thread Tim Bain
A network of brokers can be used for HA as long as the network topology will remain fully connected in the face of N failures (for whatever value of N you choose to support, probably 1) and the clients' failover URIs will always contain a live broker in the face of the same failure(s). But you cou

RE: Network of Brokers - Putting/Getting from a queue

2015-10-01 Thread barry.barnett
Have you disabled advisory messages and/or explicitly included/excluded any destinations? I have added nothing in the activemq.xml file to exclude advisory messages, etc. And have you done anything to prevent the broker from auto-creating destinations? Again, nothing added to the activemq.xml

RE: Network of Brokers - Putting/Getting from a queue

2015-10-01 Thread Tim Bain
Your assumption is correct, networks of brokers allow messages to be forwarded across the network to be consumed by consumers on brokers other than the one on which the message was produced. Have you disabled advisory messages and/or explicitly included/excluded any destinations? And have you don

RE: Network of Brokers - Putting/Getting from a queue

2015-10-01 Thread barry.barnett
BrokerA BrokerB Client application A dynamically creates queue called TEST on BrokerB and puts a message there. Client application B connectos to BrokerA and tries to read queue TEST. I'll have to ask the client to provide me the code. Regards, Barr

RE: Network of Brokers - Putting/Getting from a queue

2015-10-01 Thread Basmajian, Raffi
Post your config and client code, otherwise, we're shooting in the dark :-) -Original Message- From: barry.barn...@wellsfargo.com [mailto:barry.barn...@wellsfargo.com] Sent: Thursday, October 01, 2015 7:58 AM To: users@activemq.apache.org Subject: RE: Network of Brokers - Putting/Getting

RE: Network of Brokers - Putting/Getting from a queue

2015-10-01 Thread barry.barnett
Here's the issue we are having: Broker ABroker B Network Connector to Broker B Network Connector to Broker A (Broker A discovers Network Connector in Log) (Broker B discove

Re: ActiveMQ-CPP message priority

2015-10-01 Thread spamtrap
On Fri, 25 Sep 2015 12:01:15 -0400, Timothy Bish wrote: >On 09/25/2015 11:44 AM, spamtrap wrote: >> On Fri, 25 Sep 2015 11:34:56 -0400, Timothy Bish >> wrote: >> >>> On 09/25/2015 11:29 AM, spamtrap wrote: If you set the message priority with cms::Message::setPriority() and then send t

RE: ActiveMQ and the Windows world

2015-10-01 Thread Jarmo Sorvari
> From: tbai...@gmail.com [mailto:tbai...@gmail.com] On Behalf Of Tim Bain > Sent: 30. syyskuuta 2015 15:42 > To: ActiveMQ Users > Subject: Re: ActiveMQ and the Windows world > > Most people on both Windows and Linux use the Java or C++ client libraries > to read and write messages from/to ActiveM