message got stuck in the queue
Hi, I am using ActiveMQ 4.1.0 (win32) broker together with openwire-cpp client. When sending messages to the queue, the first message isn't relayed by broker, while others pass ok. I 've modified example client to have separate producer and consumer apps, that are attached. Have you faced that problem before? http://www.nabble.com/file/5909/consumer.cpp consumer.cpp http://www.nabble.com/file/5910/producer.cpp producer.cpp -- View this message in context: http://www.nabble.com/message-got-stuck-in-the-queue-tf3082109.html#a8563554 Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.
getaddrinfo() error
I 've fixed a tiny bug with getaddrinfo() error handling. Whom should I delegate a patch? -- View this message in context: http://www.nabble.com/getaddrinfo%28%29-error-tf3039518.html#a8447964 Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.
activemq-cpp compilation warnings
Hi, Why isn't actviemq-cpp compiled with '-W -Wall' options? It's very useful, because default warning level for gcc is quite low. The problem is that while compiling code that uses cms/* headers with -W -Wall, number of warnings appears like that: ./activemq/exceptions/ActiveMQException.h: In copy constructor `activemq::exceptions::ActiveMQException::ActiveMQException(const activemq::exceptions::ActiveMQException)': ./activemq/exceptions/ActiveMQException.h:55: warning: base class `class cms::CMSException' should be explicitly initialized in the copy constructor and it's quite annoying. Could it be fixed in 1.1 release - there is no big work here. Thanks. -- View this message in context: http://www.nabble.com/activemq-cpp-compilation-warnings-tf3033440.html#a8428456 Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.
stomp and openwire interconnection
I 'm using Java activemq client with openwire protocol and it's fine, but I 'm about to use it together with c++ client. Since openwire isn't supported in activemqcpp at the moment, will be any problem to interconnect between java and c++ client with openwire and stomp protocols accordingly? -- View this message in context: http://www.nabble.com/stomp-and-openwire-interconnection-tf3027833.html#a8412034 Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.
activemq-cpp and openwire
Hi, I am using the latest version of activemq-cpp (1.1). Is there any support of openwire protocol? What are the plans for that support? -- View this message in context: http://www.nabble.com/activemq-cpp-and-openwire-tf3022299.html#a8394849 Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.
RE: activemq-cpp and openwire
I 've heard that full openwire support is declared for 2.0. Are there any approximate time frames for it? tabish121 wrote: Activemq CPP doesn't currently handle the openwire Protocol. We've been working on it slowly, but have had a lot of other issues to address for the 1.1 release which should greatly improve the library over the 1.0 release. -Original Message- From: Motl [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 16, 2007 12:35 PM To: activemq-dev@geronimo.apache.org Subject: activemq-cpp and openwire Hi, I am using the latest version of activemq-cpp (1.1). Is there any support of openwire protocol? What are the plans for that support? -- View this message in context: http://www.nabble.com/activemq-cpp-and- openwire-tf3022299.html#a8394849 Sent from the ActiveMQ - Dev mailing list archive at Nabble.com. -- View this message in context: http://www.nabble.com/activemq-cpp-and-openwire-tf3022299.html#a8397647 Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.
amazon activemq-cpp client
Hi, Whom I could contact about amazon client problems/development? -- View this message in context: http://www.nabble.com/amazon-activemq-cpp-client-tf3013701.html#a8369196 Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.
Re: [VOTE] Release ActiveMQ-CPP 1.1
+1. Looking forward to receiving 1.1 features. nmittler wrote: Hi everyone, Several bug fixes as well as a few new features have been incorporated into ActiveMQ-CPP - worthy of a 1.1 release, before we go for full openwire support in 2.0. The source bundle for the release candidate can be found here: http://people.apache.org/~nmittler/incubator-activemq-cpp-1.1-src.zip http://people.apache.org/%7Etabish/activemq-cpp-1.0.zip And here's the wiki page for the release: http://www.activemq.org/site/activemq-cpp-11-release.html http://www.activemq.org/site/activemq-cpp-10-release.html Please cast your votes: [ ] +1 Release the source as Apache ActiveMQ CPP 1.1 [ ] -1 Veto the release (provide specific comments) Regards, Nate -- View this message in context: http://www.nabble.com/-VOTE--Release-ActiveMQ-CPP-1.1-tf3009026.html#a8376411 Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.
amazon activemq-cpp: crash(assertion failed) while receiving a message
Hi, I'm using amazon activemq client. Under debugger crash can be 100% reproduced: Just run it under gdb, making breakpoints in sem_post()/sem_wait() and run a producer for this consumer then. $ gdb ./brokersession_example_receiver_sync GNU gdb Red Hat Linux (6.3.0.0-1.132.EL4rh) Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type show copying to see the conditions. There is absolutely no warranty for GDB. Type show warranty for details. This GDB was configured as x86_64-redhat-linux-gnu...Using host libthread_db library /lib64/tls/libthread_db.so.1. (gdb) b sem_post Function sem_post not defined. Make breakpoint pending on future shared library load? (y or [n]) y Breakpoint 1 (sem_post) pending. (gdb) b sem_wait Function sem_wait not defined. Make breakpoint pending on future shared library load? (y or [n]) y Breakpoint 2 (sem_wait) pending. (gdb) r 'tcp://motl-desk:61616' Starting program: /home/motl/trunk/amazon/amq_examples/bs_sync_recv/.libs/brokersession_example_receiver_sync 'tcp://motl-desk:61616' [Thread debugging using libthread_db enabled] [New Thread 182900245984 (LWP 22108)] [New Thread 1084229984 (LWP 22125)] [Switching to Thread 182900245984 (LWP 22108)] Breakpoint 4, 0x00350710a620 in sem_wait () from /lib64/tls/libpthread.so.0 (gdb) c Continuing. [Switching to Thread 1084229984 (LWP 22125)] Breakpoint 3, 0x00350710a820 in sem_post () from /lib64/tls/libpthread.so.0 (gdb) c Continuing. Received message: 1 [Switching to Thread 182900245984 (LWP 22108)] Breakpoint 4, 0x00350710a620 in sem_wait () from /lib64/tls/libpthread.so.0 (gdb) c Continuing. brokersession_example_receiver_sync: BlockingMessageConsumer.cpp:61: virtual std::auto_ptrActiveMQ::Message ActiveMQ::BlockingMessageConsumer::receive(): Assertion `!messages_.empty()' failed. Program received signal SIGABRT, Aborted. 0x00350662e21d in raise () from /lib64/tls/libc.so.6 (gdb) I've investigated the source code, this could only happen when semaphore is released and there is no messages in the incoming queue for the consumer, but the semaphore is only released when the message is pushed to the queue . It seems that semaphore becomes released by some other reason - maybe memory corruption takes place. -- View this message in context: http://www.nabble.com/amazon-activemq-cpp%3A-crash%28assertion-failed%29-while-receiving-a-message-tf2967887.html#a8304787 Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.
Re: openwire protocol
Thank you for fast response. Really, I'm not looking for code generators, but more for some simple (might be incomplete) description of openwire network protocol. If I had one, I'd like to write an ethereal sniffer plugin for the protocol in future, that could ease significantly development process. Hiram Chirino wrote: Hi Motl, We have not yet put together a formal specification for it. But I guess it should be done, we are looking for a volunteer :) What we have are code generators that will generate the openwire marshallers for a few different languages. I did lots of working in putting those generators together and would be happy to help you document if you want, but I'm a bit busy to do it by myself. On 12/28/06, Motl [EMAIL PROTECTED] wrote: Hi, Is there any specification for openwire protocol? (I mean network protocol, i.e. header fields, body, byte order etc). Where can I get it? Thanks in advance. -- View this message in context: http://www.nabble.com/openwire-protocol-tf2890803.html#a8076068 Sent from the ActiveMQ - Dev mailing list archive at Nabble.com. -- Regards, Hiram Blog: http://hiramchirino.com -- View this message in context: http://www.nabble.com/openwire-protocol-tf2890803.html#a8076644 Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.
amazon client supported platforms
Hi, which platforms amazon activemq client is proposed to be built on? I built it on RHEL4 Linux without any problems, then I tried to build it under Cygwin. Here are the last lines of build failure: g++ -DPACKAGE_NAME=\\ -DPACKAGE_TARNAME=\\ -DPACKAGE_VERSION=\\ -DPACKAGE _STRING=\\ -DPACKAGE_BUGREPORT=\\ -DPACKAGE=\amq_openwirecpp\ -DVERSION=\ 0.1.2\ -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_ H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 - DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DSTDC_HEADERS=1 -I. -I. -I. ./ -I/cygdrive/c/boost_1_33_1/ -MT TCPTransport.lo -MD -MP -MF .deps/TCPTranspor t.Tpo -c TCPTransport.cpp -DPIC -o .libs/TCPTransport.o TCPTransport.cpp: In member function `virtual void ActiveMQ::TCPTransport::conne ct()': TCPTransport.cpp:50: error: aggregate `addrinfo hints' has incomplete type and c annot be defined TCPTransport.cpp:52: error: invalid application of `sizeof' to incomplete type ` addrinfo' TCPTransport.cpp:56: error: `getaddrinfo' undeclared (first use this function) TCPTransport.cpp:56: error: (Each undeclared identifier is reported only once fo r each function it appears in.) TCPTransport.cpp:58: error: `gai_strerror' undeclared (first use this function) TCPTransport.cpp:60: error: invalid use of undefined type `struct addrinfo' TCPTransport.cpp:50: error: forward declaration of `struct addrinfo' TCPTransport.cpp:60: error: invalid use of undefined type `struct addrinfo' TCPTransport.cpp:50: error: forward declaration of `struct addrinfo' TCPTransport.cpp:61: error: `freeaddrinfo' undeclared (first use this function) make[1]: *** [TCPTransport.lo] Error 1 make[1]: Leaving directory `/home/motl/devel/amazon/amq_transport' make: *** [all-recursive] Error 1 ... Is Cygwin platform supported ? How can I cope with it? Thank you. -- View this message in context: http://www.nabble.com/amazon-client-supported-platforms-tf2628734.html#a7335457 Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.