Highly available and scalable "criss crossed" brokers architectural advice

2015-03-18 Thread Fred Moore
Hi folks, in the context of a JBoss cluster made of two nodes we need to deploy a highly scalable and available ActivemQ broker configuration (where, in general terms, availability is more critical that scalability), more specifically: * at any given time we need to have at least one broker up a

ActiveMQ 5.11 with WebSphere Application Server 8.5

2015-03-18 Thread boekhold
Hi all, Does anybody know which jars from ActiveMQ 5.11 I need to use with IBM Websphere Application Server 8.5.5 in order to create a new ActiveMQ JMS Provider? I found discussions related to older ActiveMQ versions that don't seem applicable anymore because the way ActiveMQ is packaged has chan

Session is not getting closed

2015-03-18 Thread suganya
Hi, We have written code to close session and consumer, but it is not getting closed when the sessions are opened and tried to closed at the same time.Also one of the behavior was the close calls were not throwing any exceptions . We are using Individual Acknowledgement and for business requiremen

Clarification regarding broker statistics in jconsole

2015-03-18 Thread xabhi
Hi, I have some confusion regarding the broker stats that are visible in jconsole. Why TotalConsumerCount != TopicSubscribers + Temporary(topic/queue)Subscribers + QueueSubscribers + DurableTopicSubscribers (excluding InactiveDurableSubscriber) What should it be equal to in terms of subscriptions

Re: Session is not getting closed

2015-03-18 Thread Timothy Bish
On 03/18/2015 07:34 AM, suganya wrote: Hi, We have written code to close session and consumer, but it is not getting closed when the sessions are opened and tried to closed at the same time.Also one of the behavior was the close calls were not throwing any exceptions . We are using Individual Ac

Re: Session is not getting closed

2015-03-18 Thread Tim Bain
Are you saying that while the session is in the process of opening, trying to simultaneously close it fails, but closing works once the opening process is complete? On Mar 18, 2015 5:45 AM, "suganya" wrote: > Hi, > > We have written code to close session and consumer, but it is not getting > clos

Re: Highly available and scalable "criss crossed" brokers architectural advice

2015-03-18 Thread James A. Robinson
On Wed, Mar 18, 2015 at 1:10 AM, Fred Moore wrote: > > Questions: > > Q1\ Is this approach a viable one? > > Q2\ Are there better ways of obtaining a similar QoS (better in the sense > of ...more simple and/or more robust and/or more standard) > > Q3\ Are there any specific recommendations on whic

Re: ActiveMQ 5.11 Dynamic Camel Route - Message Namespaces

2015-03-18 Thread mtod
Does no one have any idea of how we can use namespaces in the dynamic route update? Mike -- View this message in context: http://activemq.2283324.n4.nabble.com/ActiveMQ-5-11-Dynamic-Camel-Route-Message-Namespaces-tp4693314p4693409.html Sent from the ActiveMQ - User mailing list archive at Nabb

Re: ActiveMQ 5.11 Dynamic Camel Route - Message Namespaces

2015-03-18 Thread James A. Robinson
I suspect it's because the question looks related more to Apache Camel than to ActiveMQ and people here might not be using the former. Are you using the same Camel library on both revisions of the ActiveMQ broker? if you set /bogus/path/just/debugging/here/thanks what does that show, does it li

Re: ActiveMQ 5.11 Dynamic Camel Route - Message Namespaces

2015-03-18 Thread mtod
Thanks for the reply This is more to do with the current ActiveMQ update then Camel on 5.10 this worked fine and I have had it in production for close to a year. My testing with 5.11 when using my exist configuration works fine but when I try the new dynamic route update option in 5.11 that allow

Re: ActiveMQ 5.11 Dynamic Camel Route - Message Namespaces

2015-03-18 Thread James A. Robinson
On Wed, Mar 18, 2015 at 8:17 AM, mtod wrote: > I tried the XPath attributes you recommended but no luck I get the same > error. > > Maybe I should have used a different subject line :) So for the 1st recommendation I had: /bogus/path/just/debugging/here/thanks the intent was to get the system t

Re: ActiveMQ 5.11 Dynamic Camel Route - Message Namespaces

2015-03-18 Thread mtod
Here's the response. INFO | Created default XPathFactory com.sun.org.apache.xpath.internal.jaxp.XPathFactoryImpl@343985bd INFO | Creating new XPath expression in pool. Namespaces on XPath expression: [me: {system -> http://camel.apache.org/xml/variables/system-properties},{env -> http://camel.ap

Re: ActiveMQ 5.11 Dynamic Camel Route - Message Namespaces

2015-03-18 Thread James A. Robinson
On Wed, Mar 18, 2015 at 10:49 AM, mtod wrote: > INFO | Created default XPathFactory > com.sun.org.apache.xpath.internal.jaxp.XPathFactoryImpl@343985bd > INFO | Creating new XPath expression in pool. Namespaces on XPath > expression: [me: {system -> > http://camel.apache.org/xml/variables/system-

Two messages printed on publish to MQTT topic

2015-03-18 Thread Ravi Roopreddy
I publish a MQTT message to Apache Apollo broker with QOS=EXACTLY_ONCE. I see the following two messages printed in broker logs. It is puzzling to see second one with "qos=AT_MOST_ONCE, messageId=0". Assuming this is printed as it is received and then when it is queued to the topic? 2015-03-19

ActiveMQ and Selector

2015-03-18 Thread bansalp
Hi, What will happen if on a queue, there are message selector used by consumer, and at start of queue there is some message which doesn't match selection criteria of any of consumer. I have observed that no message go through this queue untill message at top is consumed/removed from queue. Sho

Broker localhost not started so using ROOTNET_AMQ_5.10.0 instead

2015-03-18 Thread flowerknight
We using activemq5.10.0 in our prod env, today we found a WARN log, about: INFO | jvm 1| 2015/03/19 09:27:13 | WARN | Broker localhost not started so using ROOTNET_AMQ_5.10.0 instead INFO | jvm 1| 2015/03/19 09:27:13 | INFO | Connector vm://localhost started‍ Our activemq was r