Re: OpenWire for C

2014-08-21 Thread levidwang
the URI I used is tcp://localhost:61616 -- View this message in context: http://activemq.2283324.n4.nabble.com/OpenWire-for-C-tp2525532p4684911.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: OpenWire for C

2014-08-21 Thread levidwang
thanks for your suggestion. I am now trying AcitiveMq-Cpp, it seems a better option. -- View this message in context: http://activemq.2283324.n4.nabble.com/OpenWire-for-C-tp2525532p4684910.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: OpenWire for C

2014-08-21 Thread levidwang
thanks for your reply. I just updated vs2008 to SP1, and recompiled all the dependent libraries. The exception is still there, but other than that, it seems working well... -- View this message in context: http://activemq.2283324.n4.nabble.com/OpenWire-for-C-tp2525532p4684909.html Sent from the

Re: OpenWire for C

2014-08-21 Thread Karl Kraft
I grabbed the OpenWire C client and tried to use it and quickly discovered that it wasn’t really supported, and it didn’t really work. It was more a proof of concept. So I decided to write a C client for OpenWire, by understanding how the marshalling worked in Java and making it work in a C en

Re: Apache.NMS.AMQP : an Apache NMS Provider for AMQP

2014-08-21 Thread Jim Gomes
+1 Thanks for all the hard work! On Thu, Aug 21, 2014 at 1:22 PM, Timothy Bish wrote: > Great work Chuck!! Looking forward to seeing this make its way to a 1.0 > release. > > > On 08/21/2014 02:08 PM, Chuck Rolke wrote: > >>

Re: Apache.NMS.AMQP : an Apache NMS Provider for AMQP

2014-08-21 Thread Timothy Bish
Great work Chuck!! Looking forward to seeing this make its way to a 1.0 release. On 08/21/2014 02:08 PM, Chuck Rolke wrote: === * Apache.NMS.AMQP : Apache NMS for AMQP Client Library * Initial Release Notes ===

Apache.NMS.AMQP : an Apache NMS Provider for AMQP

2014-08-21 Thread Chuck Rolke
=== * Apache.NMS.AMQP : Apache NMS for AMQP Client Library * Initial Release Notes === 1.0 Welcome Welcome to Apache NMS AMQP! This NMS Provider will connect t

JMS to JMS bridge reconnection dispatching not working in simple conditions

2014-08-21 Thread pollotek
Hi, I'm testing ActiveMQ 5.10 trying to migrate from 5.6 in hopes to fix a variety of dispatching issues I've been dealing with for a while. I'm running the following topology to verify producer/consumer dispatching on reconnection works as it does in 5.6. This is my topology: producer --> br

Re: Problem Subscribing to AMQ Topic using amq.js

2014-08-21 Thread artnaseef
I can't be too sure about the web.xml installation. Try breaking the syntax in the file (i.e. put invalid content in the file) and see if it causes errors - if not, it's not being used (most likely). The parameter is telling the servlet the URL to reach activemq. That needs to be set correclty,

Re: ActiveMQ pooled Connection Factory for multiple durable subscribers

2014-08-21 Thread artnaseef
I agree that a single connection per consumer is a good starting point. Be mindful of overall connection counts on the server though, and be sure to use the NIO connector if those counts will be high on the broker (in the thousands rather than hundreds). Make sure to count connections from all cl

Re: Desktop applications

2014-08-21 Thread artnaseef
Yup - request/reply with temp queues is a good model. With ActiveMQ, it is important to reuse temp destinations, so choose the right model: GOOD - create connection - create temp destination - repeat - send request with reply-to = temp destination - receive respons

Re: OpenWire for C

2014-08-21 Thread artnaseef
Was there a full exception stack trace? That could help. It looks like that exception means unexpectedly reaching the end of a list; perhaps an empty list? -- View this message in context: http://activemq.2283324.n4.nabble.com/OpenWire-for-C-tp2525532p4684880.html Sent from the ActiveMQ - Use

Re: OpenWire for C

2014-08-21 Thread Timothy Bish
On 08/20/2014 10:08 PM, levidwang wrote: thank you, I have just tried using activemqq-cpp. I am using the example code, and I always found exception: decaf::util::NosuchElementException when the code executed to "countDownLatch::await()" (called by "consumer.waitUntilReady()" in main) I am a

Re: Desktop applications

2014-08-21 Thread Matt Pavlovich
Hi Jon- This is an application design question, and is tough to accomplish over a mailing list. A quick suggestion: JMS has a request-reply model that uses message headers to specify a ReplyTo queue. You can do this to solve the “user” problem. Don’t think of it as a per-user situation, but t

Re: ActiveMQ pooled Connection Factory for multiple durable subscribers

2014-08-21 Thread Matt Pavlovich
I don’t recommend using pools for consumers, until you have a specific scenario that a single connection per consumer doesn’t fit your needs. Pre-tuning usually results in de-tuning when it comes to messaging. Start with a single connection and single consumer and measure performance there. Mo

Re: How to create multiple subscribers and producers in a application

2014-08-21 Thread Matt Pavlovich
Sophia- I suggest starting with a single connection per consumer. That model performs well for most applications. You can then look to add multiple consumers on top of a connection (maybe 4 max) and then look to add additional connections to scale consumption. -Matt On Aug 19, 2014, at 2:37

after 3 to 6 hours of message delivery msg is processed

2014-08-21 Thread fachhoch
My application uses embedded broker active mq 5.5.1, deployed on tomcat 7, spring 3.4. Some times after delay of 3 to 6 hours after msg delivery, massage will be processed. This is happening only for one particular queue, I know for sure there is just one msg sent to this queue. What causes acti

Desktop applications

2014-08-21 Thread Jon Mithe
Hello, I'm trying to figure out if activemq would be a good fit to broker messages from a desktop application to a backend services. In particular what is confusing me is say 100 users log on to the system (I see activemq has user auth) how do I can manage the users session. For example, each us

Installing AJAX Servlet for using ActiveMQ

2014-08-21 Thread absaar
- I have a confusion about installing an AJAX servlet, so I simply created a web.xml file in my java web application project and assumed that servlet is installed. AMQ web and amq complete jars are included in the web project. is it correct or am I suppose to do other configurations to make this wo

Messages not being delivered (Stomp, 5.10.0)

2014-08-21 Thread James Green
One of our spoke machines shows evidence that it is not delivering the messages to consumers as expected. Of the queues in question is named "DeliveryNotifications.Inbound" and I've switched on debug logging to capture what I can. During the following log segment you can see there are messages for