Re: Re: The connection is already closed

2017-05-02 Thread Chester_Zheng
Hi, Tim Happy to communicate with u again. I pasted the exception message on my first message. It didn't show any detailed or explicit hint. There's not any valuable info about how to deal with the problem. No any message is about Brokers. I only set the value "nested.wireFormat.maxInactivityDur

Re: Re: The connection is already closed

2017-05-02 Thread Tim Bain
On May 2, 2017 8:23 PM, "Chester_Zheng" wrote: Hi, Tim First of all, Thanks for your response. I know the exception message is on the factory No, the exception message is about the *connection*, not the factory. , and the close() method is a public-method that anywhere can invoke it if it ha

Re: Re: The connection is already closed

2017-05-02 Thread Chester_Zheng
Hi, Tim First of all, Thanks for your response. I know the exception message is on the factory, and the close() method is a public-method that anywhere can invoke it if it has the factory instance. I've seen the source code and found the exception message. But, I can't understand why ActiveMQ a

Re: How can I avoid hard coding the remote queue name in @MessageDriven when using resource adapter

2017-05-02 Thread Clebert Suconic
That's more a question to the application server guys.. I would ask that question to wildfly. I believe there's a thing you can do that.. some guys from Wildfly I know are part of this list but i doubt they follow this on a daily basis, so you would be better asking this question to wildfly guys at

How can I avoid hard coding the remote queue name in @MessageDriven when using resource adapter

2017-05-02 Thread asdfg195
I am using an ActiveMQ resource adapter to connect to a remote ActiveMQ queue on a wildfly server. I have the following code in my jboss-ejb.xml to set up my resource adapter MyNotificationMDB mq-ra This maps to the following MDB @MessageDriven( activationConfig = { @ActivationConf

Re: Artemis production ready?

2017-05-02 Thread Clebert Suconic
On Mon, May 1, 2017 at 10:57 AM, Mike Tod wrote: > One failover cluster in the AWS US instance another failover cluster in the > AWS Europe instance (more specifically the German instance) then connect both > and filter by region to keep local traffic within the region. How would you do the fi

Re: Ring buffer with Artemis: paging mode

2017-05-02 Thread Clebert Suconic
a kind of last value queue that would keep the last N messages would make a lot of sense. I'm not sure it's a topic.. although with the new addressing model it would allow either topic or queue to be like that. you would need a type of queue for that. it's a totally new feature.. we would need to

What are different failover scenarios in activeMQ?

2017-05-02 Thread Jayakar914
Hi, Someone please reply with answer for below query What are different failover scenarios in activeMQ? -- View this message in context: http://activemq.2283324.n4.nabble.com/What-are-different-failover-scenarios-in-activeMQ-tp4725448.html Sent from the ActiveMQ - User mailing list archive a

What will happen if a broker fails?

2017-05-02 Thread Jayakar914
Hi, I want to know when broker fails in ActiveMQ. What will happen if a broker fails? -- View this message in context: http://activemq.2283324.n4.nabble.com/What-will-happen-if-a-broker-fails-tp4725447.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

How can we improve performance of broker if number of messages are too large?

2017-05-02 Thread Jayakar914
Hi, I am having query regarding broker in ActiveMQ, How can we improve performance of broker if number of messages are too large? -- View this message in context: http://activemq.2283324.n4.nabble.com/How-can-we-improve-performance-of-broker-if-number-of-messages-are-too-large-tp4725446.ht

Re: Artemis 2 - Replication/failover issues

2017-05-02 Thread Clebert Suconic
thanks a lot Dan... I don't think the issue was replication... it was about how the address was created... , but I can see Justin fixed it.. nice one! I recommend you specifying the routing type when creating the addresss on 2.0 though. I woud use 2.1 anyways.. I'm finishing up and I will start

Re: destination unspecified - can ActiveMQ set it?

2017-05-02 Thread Tim Bain
Selectors are a way for a consumer to tell the broker, "Don't send me messages like this when you do normal dispatch for this destination." For a queue, all messages are essentially communal between the set of consumers, so the skipped messages stay on the queue for some other consumer (one with a

Re: purge performance???

2017-05-02 Thread Tim Bain
ActiveMQ shouldn't mind, if your OS allows that. Tim On May 2, 2017 1:27 AM, "pbCode" wrote: > Thanks Christopher for your reply. That really helps. To ensure the CPU > stays at a controllable way can I throttle the CPU to say 50% to ensure > everything just ticks over whilst the operation com

Re: destination unspecified - can ActiveMQ set it?

2017-05-02 Thread Vince Cole
Hi Tim OK - just one more question: If having a single consumer per queue wasn't a problem, would Selectors still be a workable solution? Or can they only be used if you have consumers (i.e. is it the consumers who have to specify them)? OK OK - another: If it was OK to lose messages when con

Re: destination unspecified - can ActiveMQ set it?

2017-05-02 Thread Vince Cole
HI Tim That's awesome, very helpful advice. Thanks! -- View this message in context: http://activemq.2283324.n4.nabble.com/destination-unspecified-can-ActiveMQ-set-it-tp4725338p4725419.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: purge performance???

2017-05-02 Thread pbCode
Thanks Christopher for your reply. That really helps. To ensure the CPU stays at a controllable way can I throttle the CPU to say 50% to ensure everything just ticks over whilst the operation completes? Thanks -- View this message in context: http://activemq.2283324.n4.nabble.com/purge-perfor