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: 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: OpenWire for C

2014-08-20 Thread levidwang
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 greenhand on C++, do you have any idea.. t

Re: OpenWire for C

2014-08-20 Thread Timothy Bish
On 08/20/2014 05:55 AM, levidwang wrote: I got the same problem, anyone knows how to solve it? thanks a lot -- View this message in context: http://activemq.2283324.n4.nabble.com/OpenWire-for-C-tp2525532p4684797.html Sent from the ActiveMQ - User mailing list archive at Nabble.com. The OpenW

Re: OpenWire for C

2014-08-20 Thread levidwang
I got the same problem, anyone knows how to solve it? thanks a lot -- View this message in context: http://activemq.2283324.n4.nabble.com/OpenWire-for-C-tp2525532p4684797.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

RE: OpenWire for C

2014-08-20 Thread barry.barnett
connection info activemq:tcp://localhost:61616? Where do I specify username/pw? -Original Message- From: artnaseef [mailto:a...@artnaseef.com] Sent: Wednesday, August 20, 2014 9:18 AM To: users@activemq.apache.org Subject: Re: OpenWire for C I have no experience with a C interface. It

Re: OpenWire for C

2014-08-20 Thread artnaseef
I have no experience with a C interface. It wouldn't surprise me to find it's not maintained. Can you work with the C++ library, activemq-cpp? It may take a little effort to interface between pure "C" code and C++, but it's certainly possible - as long as the compile and runtime environment of t