RE: Reg : ActiveMQ - CPP - Client - 3.9.5

2022-12-15 Thread Jayakumar, Ranjith
Subject: Reg : ActiveMQ - CPP - Client - 3.9.5 Hi ActiveMQ team, We are not able to create issue/clarifications in https://issues.apache.org/jira/login.jsp?os_destination=%2Fbrowse%2FAMQ-8143 Hence sending the mail for the same. We are facing below issue in ActievMQ Cpp client 3.9.5 version

Reg : ActiveMQ - CPP - Client - 3.9.5

2022-12-13 Thread Jayakumar, Ranjith
Hi ActiveMQ team, We are not able to create issue/clarifications in https://issues.apache.org/jira/login.jsp?os_destination=%2Fbrowse%2FAMQ-8143 Hence sending the mail for the same. We are facing below issue in ActievMQ Cpp client 3.9.5 version. "Send" API in "MessageProducer" is taking time

Re: activemq-cpp unit tests not building

2022-02-23 Thread Timothy Bish
that was failing was ~/activemq-cpp/activemq-cpp/m4/find_cppunit.m4, as part of the autoconfiguration scripts for the build. I could rewrite that to properly use pkg-config instead of the deprecated cppunit-config, but there would surely be a steep learning curve, and no guarantee I wouldn't encounter

RE: activemq-cpp unit tests not building

2022-02-23 Thread james wing
libraries unmaintained,) is going to be challenging for C++ folks (like me) to use. I appreciate the pointer to Qpid, and the hint that STOMP clients might be an alternative too. I wanted to feed back an update, in case anyone is curious: The part that was failing was ~/activemq-cpp/activemq-cpp/m4

Re: activemq-cpp unit tests not building

2022-02-23 Thread Timothy Bish
-cpp unit tests not building On 2/23/22 14:16, james wing wrote: I'm attempting to build & install activemq-cpp client on a Debian system, with unit and integration tests. After git-ing the latest source and following instructions in the README.txt (and/or here: https://activemq.apache

RE: activemq-cpp unit tests not building

2022-02-23 Thread james wing
: activemq-cpp unit tests not building On 2/23/22 14:16, james wing wrote: > I'm attempting to build & install activemq-cpp client on a Debian system, > with unit and integration tests. > After git-ing the latest source and following instructions in the README.txt > (and/

Re: activemq-cpp unit tests not building

2022-02-23 Thread Timothy Bish
On 2/23/22 14:16, james wing wrote: I'm attempting to build & install activemq-cpp client on a Debian system, with unit and integration tests. After git-ing the latest source and following instructions in the README.txt (and/or here: https://activemq.apache.org/components/cms/develo

activemq-cpp unit tests not building

2022-02-23 Thread james wing
I'm attempting to build & install activemq-cpp client on a Debian system, with unit and integration tests. After git-ing the latest source and following instructions in the README.txt (and/or here: https://activemq.apache.org/components/cms/developers/building ) , I run the "make check

ActiveMQ cpp git tag

2021-03-07 Thread Kabakov, Anton
repository. IMHO the correct tag should be activemq-cpp-3.9.5 , at least according to "git tag". Can you please check this and change the page to prevent future confusion? Thank you, Anton.

Re: Messaging between activemq-cpp and websocket

2019-03-23 Thread elk
Well, the solution is quite simple: the messages are not transmitted as /TextMessage/ objects in the sense of activemq-cpp, they are /ByteMessage/'s. Casting the message to a ByteMessage, read the bytes and creating a string from it solved it. Unfortunately neither the readString() nor

Messaging between activemq-cpp and websocket

2019-03-17 Thread elk
Hello, I am new to activemq and activemq-cpp. My goal is to setup queues for communication between a web browser (over websocket/STOMP) and a C++ program. Since there is some additional business logic, I've setup a springboot application with embedded ActiveMQ server and configured the Websocker

[ANNOUNCE] ActiveMQ-CPP Version 3.9.5 Released

2019-02-04 Thread Timothy Bish
Hi Everyone, Its official, AcitveMQ-CPP v3.9.5 has now been released. There is a new configuration option to help deal with hang when broker doesn't respond to a connection request and some fixes for SSL leaks. The Wiki page for the release is here: http://activemq.apache.org/cms/activemq

Re: activemq-cpp support encrypted keystore password

2019-01-21 Thread Timothy Bish
or not the activemq-cpp implementation supports this functionality or do I have the encrypt and decrypt my password myself and then set the decaf.net.ssl.keystorePassword property to it? Thanks, SK -- Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html You need to manage

activemq-cpp support encrypted keystore password

2019-01-21 Thread skimbrell
In looking at the Java implementation of the activemq client, you are able to encrypt a password and then pass it in as a property enclosing it within an ENC() and the activemq recognizes the password is encrypted and decrypts it. My question is whether or not the activemq-cpp implementation

Building activemq-cpp on Cygwin

2018-10-24 Thread chen7515
I'm trying to build activemq-cpp 3.9.4 on Cygwin. The website says this is supported but closer inspection of the README in the release says it's not. I am running into errors with pthread.h while trying to compile with make in Cygwin now. If I want to run the C++ client on Windows, do I need

ActiveMQ-cpp-library 3.9.4 connection timeout

2018-08-06 Thread Ethan.Lin
Dear readers, I get a question when I'm using ActiveMQ-cpp-library 3.9.4 to connect to MQ server, as described below: It seems that the timeout parameters specified in URI of connection do not take effect if MQ server does not exist. For example, I use the following URI to connect to MQ server

how do I build activemq cpp in visual studio 2017 step by step

2018-06-07 Thread sai krishna
I want to write a small cpp program for Activemq queue. So I need to install activemq cpp for that. But the building process for visual studio has not mentioned clearly in their document. Anyone can tell the building process of activemq cpp in visual studio 2017. I also facing so many problems

Re: ActiveMQ-CPP IPV6 support

2018-01-05 Thread Timothy Bish
On 01/05/2018 12:37 PM, QuickSilver wrote: Hi Apologies if this has been answered elsewhere but I haven't found any clear response, hence posting this here. Does the activemq-cpp client library support IPV6 now? We are required to ensure that our product is IPV6 compliant and our C

ActiveMQ-CPP IPV6 support

2018-01-05 Thread QuickSilver
Hi Apologies if this has been answered elsewhere but I haven't found any clear response, hence posting this here. Does the activemq-cpp client library support IPV6 now? We are required to ensure that our product is IPV6 compliant and our C++ applications are unable to connect to broker when

Re: activemq-cpp-3.9.4 fails to build fedora rawhide - openssl-1.1.0e related.

2017-11-15 Thread acpmasquerade
Checking in just to confirm that same issue was encountered while building on Ubuntu 16.04 and openssl 1.0.2 Fixed by replacing as suggested above. PS: What is the datatype of extension->value->length ? -- Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html

Re: SEGFAULT in activemq-cpp 3.9.4 when creating connection

2017-08-02 Thread Eric B Munson
On 2017-08-02 12:14, Timothy Bish wrote: On 08/02/2017 12:02 PM, Munson, Eric wrote: Hi, I am trying to use activemq-cpp as a message producer and I cannot get the system setup. I have built and installed activemq-cpp using the distro versions of apr and aprutil on Ubuntu 17.04. When I try

Re: SEGFAULT in activemq-cpp 3.9.4 when creating connection

2017-08-02 Thread Timothy Bish
On 08/02/2017 12:02 PM, Munson, Eric wrote: Hi, I am trying to use activemq-cpp as a message producer and I cannot get the system setup. I have built and installed activemq-cpp using the distro versions of apr and aprutil on Ubuntu 17.04. When I try and create a ConnectionFactory

SEGFAULT in activemq-cpp 3.9.4 when creating connection

2017-08-02 Thread Munson, Eric
Hi, I am trying to use activemq-cpp as a message producer and I cannot get the system setup. I have built and installed activemq-cpp using the distro versions of apr and aprutil on Ubuntu 17.04. When I try and create a ConnectionFactory with the following code (simplified from my process

Re: [ActiveMQ-CPP] "backup=true" does not work with failover transport

2017-08-01 Thread Tim Bain
tdown then > the failover would not cause messages to be lost. > > > > -- > View this message in context: http://activemq.2283324.n4. > nabble.com/ActiveMQ-CPP-backup-true-does-not-work-with-failover-transport- > tp4728967p4729101.html > Sent from the ActiveMQ - User mailing list archive at Nabble.com. >

Re: [ActiveMQ-CPP] "backup=true" does not work with failover transport

2017-08-01 Thread Tamas1
onsumed before the shutdown then the failover would not cause messages to be lost. -- View this message in context: http://activemq.2283324.n4.nabble.com/ActiveMQ-CPP-backup-true-does-not-work-with-failover-transport-tp4728967p4729101.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: [ActiveMQ-CPP] "backup=true" does not work with failover transport

2017-07-31 Thread Tim Bain
Tim, Is the following a correct restatement of your response? "The backup feature of the failover transport is known to not work in ActiveMQ-CPP. If you'd like, you can submit a bug in JIRA to request that it be fixed." Tim On Jul 31, 2017 6:53 AM, "Timothy Bish" <tab

Re: [ActiveMQ-CPP] "backup=true" does not work with failover transport

2017-07-31 Thread Timothy Bish
of connections were 160-160 to amq02 which was no more the case. I repeated the test and I restarted everything not only once but the behaviour didn't change. I would appreciate your feedback. -- View this message in context: http://activemq.2283324.n4.nabble.com/ActiveMQ-CPP-backup-true-does

Re: [ActiveMQ-CPP] "backup=true" does not work with failover transport

2017-07-31 Thread Tamas1
was no more the case. I repeated the test and I restarted everything not only once but the behaviour didn't change. I would appreciate your feedback. -- View this message in context: http://activemq.2283324.n4.nabble.com/ActiveMQ-CPP-backup-true-does-not-work-with-failover-transport

Re: [ActiveMQ-CPP] "backup=true" does not work with failover transport

2017-07-27 Thread Timothy Bish
On 07/27/2017 11:21 AM, Tamas1 wrote: I am working with an application that uses the ActiveMQ-CPP 3.9.1 Release. Two ActiveMQ brokers are used with the following connection URL: failover:(tcp://amq01:61616,tcp://amq02:61616)?backup=true I intented to test the application behaviour if one

[ActiveMQ-CPP] "backup=true" does not work with failover transport

2017-07-27 Thread Tamas1
I am working with an application that uses the ActiveMQ-CPP 3.9.1 Release. Two ActiveMQ brokers are used with the following connection URL: failover:(tcp://amq01:61616,tcp://amq02:61616)?backup=true I intented to test the application behaviour if one of the brokers is shut down. - If "b

Re: activemq-cpp-3.9.4 fails to build fedora rawhide - openssl-1.1.0e related.

2017-07-20 Thread baklan120
t;length, ASN1_ITEM_ptr(method->it)) : -- View this message in context: http://activemq.2283324.n4.nabble.com/activemq-cpp-3-9-4-fails-to-build-fedora-rawhide-openssl-1-1-0e-related-tp4724037p4728754.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Activemq-cpp - Exception is thrown at Threading.cpp:274

2017-07-11 Thread mahesh.nitte
274? 2. How can I fix the same? -- View this message in context: http://activemq.2283324.n4.nabble.com/Activemq-cpp-Exception-is-thrown-at-Threading-cpp-274-tp4728453.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: activemq-cpp-3.9.4 fails to build fedora rawhide - openssl-1.1.0e related.

2017-06-02 Thread traylenator
 https://wiki.openssl.org/index.php/OpenSSL_1.1.0_Changes -- View this message in context: http://activemq.2283324.n4.nabble.com/activemq-cpp-3-9-4-fails-to-build-fedora-rawhide-openssl-1-1-0e-related-tp4724037p4726931.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: BlobMessage in ActiveMQ-CPP by now 2017

2017-05-27 Thread e271828
erMarshal(wireFormat); } AMQ_CATCH_RETHROW(decaf::io::IOException) AMQ_CATCH_EXCEPTION_CONVERT(exceptions::ActiveMQException, decaf::io::IOException) AMQ_CATCHALL_THROW(decaf::io::IOException) } -- View this message in context: http://activemq.2283324.n4.nabble.com/BlobMes

Re: BlobMessage in ActiveMQ-CPP by now 2017

2017-05-26 Thread e271828
is harder to implement setRemoteBlobUrl and getRemoteBlobUrl. -- View this message in context: http://activemq.2283324.n4.nabble.com/BlobMessage-in-ActiveMQ-CPP-by-now-2017-tp4726457p4726631.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: BlobMessage in ActiveMQ-CPP by now 2017

2017-05-26 Thread e271828
I am a chinese.My english is not very good. I read this english by machine translating. -- View this message in context: http://activemq.2283324.n4.nabble.com/BlobMessage-in-ActiveMQ-CPP-by-now-2017-tp4726457p4726629.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Fwd: Re: BlobMessage in ActiveMQ-CPP by now 2017

2017-05-26 Thread Tim Bain
Bish" <tabish...@gmail.com> Date: May 26, 2017 7:45 AM Subject: Re: BlobMessage in ActiveMQ-CPP by now 2017 To: "Tim Bain" <tb...@alumni.duke.edu> Cc: On 05/26/2017 08:40 AM, Tim Bain wrote: > > That's not how I expected it would work. Every message ultimately get

Re: BlobMessage in ActiveMQ-CPP by now 2017

2017-05-26 Thread Tim Bain
-- > View this message in context: http://activemq.2283324.n4. > nabble.com/BlobMessage-in-ActiveMQ-CPP-by-now-2017-tp4726457p4726595.html > Sent from the ActiveMQ - User mailing list archive at Nabble.com. >

Re: BlobMessage in ActiveMQ-CPP by now 2017

2017-05-25 Thread e271828
.nabble.com/BlobMessage-in-ActiveMQ-CPP-by-now-2017-tp4726457p4726595.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: BlobMessage in ActiveMQ-CPP by now 2017

2017-05-25 Thread Tim Bain
NAME");} If it is textmessage,my java code can read the StringProperty "FILE.NAME". Does c++ send blobmessage which can only receive by C++ and can not receive by java? -- View this message in context: http://activemq.2283324.n4. nabble.com/BlobMessage-in-ActiveMQ-CPP-by-now-2017-tp4726457p4726533.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: BlobMessage in ActiveMQ-CPP by now 2017

2017-05-24 Thread e271828
it is textmessage,my java code can read the StringProperty "FILE.NAME". Does c++ send blobmessage which can only receive by C++ and can not receive by java? -- View this message in context: http://activemq.2283324.n4.nabble.com/BlobMessage-in-ActiveMQ-CPP-by-now-2017-tp4726457p4726533.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: BlobMessage in ActiveMQ-CPP by now 2017

2017-05-24 Thread e271828
end. -- View this message in context: http://activemq.2283324.n4.nabble.com/BlobMessage-in-ActiveMQ-CPP-by-now-2017-tp4726457p4726459.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: BlobMessage in ActiveMQ-CPP by now 2017

2017-05-24 Thread e271828
public static String bytes2HexString(byte[] b) { String ret = ""; for (int i = 0; i < b.length; i++) { String hex = Integer.toHexString(b[ i ] & 0xFF); if (hex.length() == 1) { hex = '0' + hex; }

BlobMessage in ActiveMQ-CPP by now 2017

2017-05-24 Thread e271828
I'm searching the documentation of ActiveMQBlobMessage usage in C++ through ActiveMQ-CPP. I could find http://activemq.apache.org/blob-messages.html and it talks about Java usage and expecting the similar one for C++. Can you please let me know from where we can get

activemq-cpp-3.9.4 fails to build fedora rawhide - openssl-1.1.0e related.

2017-03-23 Thread traylenator
Hi Building activemq-cpp-3.9.4 results in a decaf/internal/net/ssl/openssl/OpenSSLSocket.cpp:667:50: error: invalid use of incomplete type 'X509_EXTENSION {aka struct X509_extension_st}' const unsigned char* data = extension->value-&g

[ANNOUNCE] ActiveMQ-CPP Version 3.9.4 Released

2017-02-24 Thread Timothy Bish
Hi Everyone, Its official, AcitveMQ-CPP v3.9.4 has now been released. This release fixes the several issues with the failover transport and the way it manages backups along with a few other minor fixes. The Wiki page for the release is here: http://activemq.apache.org/cms/activemq-cpp-394

Re: [CMS] one Activemq-cpp test hangs

2016-11-21 Thread vgiacomini
I moved forward in my research and i finally found that it hangs here: std::string clientId = UUID::randomUUID().toString(); -- View this message in context: http://activemq.2283324.n4.nabble.com/CMS-one-Activemq-cpp-test-hangs-tp4719323p4719325.html Sent from the ActiveMQ - User mailing

[CMS] one Activemq-cpp test hangs

2016-11-21 Thread vgiacomini
Hi, I trying to get activemq-cpp-3.8.2 working for AIX 7.1.0 First, some precisions: OS is AIX 7.10 compiler is xlc 13.1.3 APR is 1.4.6 CPPUnit is 1.12.1 So, library libactivemq.a is correctly built but it doesn't work. when passing unit test (./activemq-test), I got this behavior

Re: ActiveMQ CPP 3.9.3 PriorityBackup not working

2016-07-28 Thread Jawad Bokhari
Thanks Tim, Just reported https://issues.apache.org/jira/browse/AMQCPP-601 I used Microsoft Visual Studio 2008 toolset (V.90) for this client application. -- View this message in context: http://activemq.2283324.n4.nabble.com/ActiveMQ-CPP-3-9-3-PriorityBackup-not-working-tp4714140p4714708

CMS API - PriorityBackup with ActiveMQ-CPP 3.9.3

2016-07-28 Thread Jawad Bokhari
>From the release notes of ActiveMQ-CPP 3.7, I saw that PriorityBackup is an added feature. But I couldn't see it in action earlier using 3.7 and now with the latest ActiveMQ-CPP 3.9.3 even. I saw an earlier post on Nabble http://activemq.2283324.n4.nabble.com/Issues-with-ActiveMQ-3-8-3-

Re: ActiveMQ CPP 3.9.3 PriorityBackup not working

2016-07-21 Thread Tim Bain
Without knowing for sure, I'd guess it's a bug that hasn't been fixed (and probably doesn't have a JIRA bug open for it), so I'd suggest you submit a JIRA bug about it. Tim On Tue, Jul 19, 2016 at 11:29 PM, Jawad Bokhari < jawad.bokh...@expertflow.com> wrote: > The priroity backup feature isn't

ActiveMQ CPP 3.9.3 PriorityBackup not working

2016-07-19 Thread Jawad Bokhari
The priroity backup feature isn't working for me and am having the same issue as explained by another user on StackOverflow http://stackoverflow.com/questions/27114156/issues-with-activemq-3-8-3-cpp-prioritybackup-not-working I'm still facing the same issue with version 3.9.3. Is it an open

activemq-cpp problme

2016-07-16 Thread mlus
I have a question about activemq-cpp-library-3.9.2 in Linux box. I try this ... # cp activemq-cpp-library-3.9.3-src.tar.bz2 /usr/local/src # cd /usr/local/src # tar jxvf activemq-cpp-library-3.9.3-src.tar.bz2 # cd activemq-cpp-library-3.9.3 # ./configure --prefix=/usr --includedir=/usr/include

Re: Activemq-cpp request-response

2016-07-12 Thread LeBro
Simple answer, deactivate nummessages. -- View this message in context: http://activemq.2283324.n4.nabble.com/Activemq-cpp-request-response-tp4713776p4713851.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: Activemq-cpp request-response

2016-07-11 Thread LeBro
.2283324.n4.nabble.com/Activemq-cpp-request-response-tp4713776p4713809.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: Activemq-cpp request-response

2016-07-08 Thread Timothy Bish
On 07/08/2016 06:16 AM, LeBro wrote: I started to work with Activemq-cpp and used the asychronous client that is available as example. But now I want to implement a request-response, i.e. the producer starts SENDINGa message to the consumer and WAITS for the response. The consumer GETS

Activemq-cpp request-response

2016-07-08 Thread LeBro
I started to work with Activemq-cpp and used the asychronous client that is available as example. But now I want to implement a request-response, i.e. the producer starts SENDINGa message to the consumer and WAITS for the response. The consumer GETS the message, CHANGES it and SENDS back

Re: Windows7/ActiveMQ-CPP: getaddrinfo returning “No such host is known” for [::1]

2016-04-07 Thread Wayne Johnson
ave it your way." --C.S. Lewis From: Timothy Bish <tabish...@gmail.com> To: users@activemq.apache.org Sent: Thursday, April 7, 2016 9:04 AM Subject: Re: Windows7/ActiveMQ-CPP: getaddrinfo returning “No such host is known” for [::1] On 04/07/2016 09:53 AM, Wayne Jo

Re: Windows7/ActiveMQ-CPP: getaddrinfo returning “No such host is known” for [::1]

2016-04-07 Thread Timothy Bish
On 04/07/2016 09:53 AM, Wayne Johnson wrote: I'm working on modifications to my code to support dual stack environments on Windows 7 et. al. The code uses ActiveMQ-CPP (3.8.4). I've set this up to use a connection to the broker on URI "tcp://[::1]:61616". I've already found I need

Windows7/ActiveMQ-CPP: getaddrinfo returning “No such host is known” for [::1]

2016-04-07 Thread Wayne Johnson
I'm working on modifications to my code to support dual stack environments on Windows 7 et. al. The code uses ActiveMQ-CPP (3.8.4). I've set this up to use a connection to the broker on URI "tcp://[::1]:61616". I've already found I need to compile APR with APR_HAVE_IPV6. Now the i

[ANNOUNCE] ActiveMQ-CPP Version 3.9.3 Released

2016-04-01 Thread Timothy Bish
://activemq.apache.org/cms/activemq-cpp-393-release.html The list of issues fixed in this release is available here: https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12311207=12334845 API documentation for v3.9.0+ versions is located here: http://activemq.apache.org/cms/api_docs/activemqcpp-3.9.0

Re: ActiveMQ-CPP Exception connecting to broker

2016-03-11 Thread James A. Robinson
Based on your numbers it's probably not ephemeral port exhaustion. The default TIME_WAIT is 4 minutes on Solaris, and to use up 32,767 sockets within 4 minutes, you'd need you to be sending an average of 136 messages per second. Jim

Re: ActiveMQ-CPP Exception connecting to broker

2016-03-11 Thread spamtrap
going wrong. >> >> Another thing is that program works OK on Linux. It's only on Solaris >> that this problem arrises. >> >> netstat does show a lot of connections in TIME_WAIT state. I don't >> know what control I have over the closedown -- I assume this is done >> in

Re: ActiveMQ-CPP Exception connecting to broker

2016-03-11 Thread spamtrap
s and sometimes it works for several 100 before >> going wrong. >> >> Another thing is that program works OK on Linux. It's only on Solaris >> that this problem arrises. >> >> netstat does show a lot of connections in TIME_WAIT state. I don't >> know what control I have over the closedown -- I assume this is done >> internally by ActiveMQ-CPP? >>

Re: ActiveMQ-CPP Exception connecting to broker

2016-03-11 Thread James A. Robinson
; > Another thing is that program works OK on Linux. It's only on Solaris > that this problem arrises. > > netstat does show a lot of connections in TIME_WAIT state. I don't > know what control I have over the closedown -- I assume this is done > internally by ActiveMQ-CPP? >

Re: ActiveMQ-CPP Exception connecting to broker

2016-03-11 Thread Tim Bain
on Solaris > that this problem arrises. > > netstat does show a lot of connections in TIME_WAIT state. I don't > know what control I have over the closedown -- I assume this is done > internally by ActiveMQ-CPP? > > >You don't say how frequently it performs this action? If it

Re: ActiveMQ-CPP Exception connecting to broker

2016-03-11 Thread spamtrap
inux. It's only on Solaris that this problem arrises. netstat does show a lot of connections in TIME_WAIT state. I don't know what control I have over the closedown -- I assume this is done internally by ActiveMQ-CPP? >You don't say how frequently it performs this action? If it is frequent, &g

Re: ActiveMQ-CPP Exception connecting to broker

2016-03-10 Thread James A. Robinson
lient side as well, and I could imagine that might be logged as an "address in use" error. Jim On Thu, Mar 10, 2016 at 8:07 AM Timothy Bish <tabish...@gmail.com> wrote: > On 03/10/2016 10:37 AM, spamtrap wrote: > > [ActiveMQ-CPP v3.9.0] > > > > We have

Re: ActiveMQ-CPP Exception connecting to broker

2016-03-10 Thread Timothy Bish
On 03/10/2016 10:37 AM, spamtrap wrote: [ActiveMQ-CPP v3.9.0] We have a c++ program which connects to a broker, sends a message to a topic and then closes the connections & exits. Every now and then it fails to connect reporting a "Address already in use" exception (ba

ActiveMQ-CPP Exception connecting to broker

2016-03-10 Thread spamtrap
[ActiveMQ-CPP v3.9.0] We have a c++ program which connects to a broker, sends a message to a topic and then closes the connections & exits. Every now and then it fails to connect reporting a "Address already in use" exception (based on ex.what()). The code is like this: - cut

Anyone using ActiveMQ-CPP & Ingres on Solaris?

2016-01-18 Thread spam trap
[Solaris 11 - 64 bit] I am trying to run a C/C++ program that uses ActiveMQ-CPP & Embedded SQL (Ingres 10.1] and would like some input on build options since the program crashes.

Re: ActiveMQ-CPP 3.9.0 does not build on Solaris 11

2016-01-08 Thread spam trap
On Thu, 7 Jan 2016 09:41:56 -0500, Timothy Bish wrote: >On 01/07/2016 09:20 AM, spamtrap wrote: >> Environment: Solaris 11 (sparc) >> Compiler: Solaris Studio 12.3 >> >> CFLAGS="-xarch=generic64" >> CXXFLAGS="-xarch=generic64" >> >> Configure options: >> ./configure

Re: ActiveMQ-CPP 3.9.0 does not build on Solaris 11

2016-01-08 Thread spamtrap
On Fri, 08 Jan 2016 11:18:41 +, spam trap wrote: >On Thu, 7 Jan 2016 09:41:56 -0500, Timothy Bish > wrote: > >>On 01/07/2016 09:20 AM, spamtrap wrote: >>> Environment: Solaris 11 (sparc) >>> Compiler: Solaris Studio 12.3 >>> >>>

Re: ActiveMQ-CPP 3.9.0 does not build on Solaris 11

2016-01-07 Thread Timothy Bish
On 01/07/2016 09:20 AM, spamtrap wrote: > Environment: Solaris 11 (sparc) > Compiler: Solaris Studio 12.3 > > CFLAGS="-xarch=generic64" > CXXFLAGS="-xarch=generic64" > > Configure options: > ./configure '--disable-ssl' '--prefix=' '--with-apr=' > > > CC: -library=Cstd cannot be used with

ActiveMQ-CPP 3.9.0 does not build on Solaris 11

2016-01-07 Thread spamtrap
Environment: Solaris 11 (sparc) Compiler: Solaris Studio 12.3 CFLAGS="-xarch=generic64" CXXFLAGS="-xarch=generic64" Configure options: ./configure '--disable-ssl' '--prefix=' '--with-apr=' CC: -library=Cstd cannot be used with -library=stlport4 [Removing -library=Cstd -library=Crun from the

Re: Possible memory leak with ActiveMQ-CPP

2015-12-02 Thread spamtrap
etPropertyNames() >>>>>>>>>>>> const (ActiveMQMessageTemplate.h:109) >>>>>>>>>>>> >>>>>>>>>>>> Any ideas? >>>>>>>>>>>> >>>>>>&

Re: Possible memory leak with ActiveMQ-CPP

2015-11-27 Thread Timothy Bish
t;>>>>>>>> >>>>>>>>> >From a quick code inspection I don't see any case where a leak can >>>>>>>>>> occur. If you can add a test case to the existing set of unit tests >>>>>>>>>> for

Re: Possible memory leak with ActiveMQ-CPP

2015-11-27 Thread spam trap
;> Any ideas? >>>>>>>>>> >>>>>>>>>> >>>>>>>> >From a quick code inspection I don't see any case where a leak can >>>>>>>>> occur. If you can add a test case to

Re: Possible memory leak with ActiveMQ-CPP

2015-11-26 Thread spamtrap
valgrind complaint I will look >>>>> again. >>>>> >>>>> Try adding something to >>>>> src/test/activemq/commands/ActiveMQMessageTest.h/cpp >>>> Where are the binaries placed for the test programs? I can't seem to >

Re: Possible memory leak with ActiveMQ-CPP

2015-11-26 Thread Timothy Bish
t;>>>>> Try adding something to >>>>>> src/test/activemq/commands/ActiveMQMessageTest.h/cpp >>>>> Where are the binaries placed for the test programs? I can't seem to >>>>> find them. >>>>> >>>>> >>>

Re: Possible memory leak with ActiveMQ-CPP

2015-11-26 Thread spamtrap
;>>>>>> occur. If you can add a test case to the existing set of unit tests for >>>>>>> the Message objects to reproduce the valgrind complaint I will look >>>>>>> again. >>>>>>> >>>>>>> Try adding somethi

Re: Possible memory leak with ActiveMQ-CPP

2015-11-26 Thread Timothy Bish
tests >>>>>>>> for >>>>>>>> the Message objects to reproduce the valgrind complaint I will look >>>>>>>> again. >>>>>>>> >>>>>>>> Try adding something to >>>>>>

Re: Possible memory leak with ActiveMQ-CPP

2015-11-25 Thread Timothy Bish
can't seem to >>> find them. >>> >>> >>> >> Depends on how you are building them, what is the environment and build >> process? > Linux 64 bit. I've run: > > configure > make > make install > make check > > > So on Linux the a

Re: Possible memory leak with ActiveMQ-CPP

2015-11-25 Thread spamtrap
On Wed, 25 Nov 2015 09:33:38 -0500, Timothy Bish wrote: >On 11/25/2015 05:47 AM, spam trap wrote: >> Hi, >> >> I have the following code: >> >> cms::Message *pMessage; >> ... >> std::vector propertyNames = pMessage->getPropertyNames(); >> >> According to valgrind this leaks

Re: Possible memory leak with ActiveMQ-CPP

2015-11-25 Thread spamtrap
On Wed, 25 Nov 2015 11:07:53 -0500, Timothy Bish wrote: >On 11/25/2015 10:50 AM, spamtrap wrote: >> On Wed, 25 Nov 2015 09:33:38 -0500, Timothy Bish >> wrote: >> >>> On 11/25/2015 05:47 AM, spam trap wrote: Hi, I have the following code:

Re: Possible memory leak with ActiveMQ-CPP

2015-11-25 Thread Timothy Bish
On 11/25/2015 10:50 AM, spamtrap wrote: > On Wed, 25 Nov 2015 09:33:38 -0500, Timothy Bish > wrote: > >> On 11/25/2015 05:47 AM, spam trap wrote: >>> Hi, >>> >>> I have the following code: >>> >>> cms::Message *pMessage; >>> ... >>> std::vector propertyNames =

Re: Possible memory leak with ActiveMQ-CPP

2015-11-25 Thread Timothy Bish
On 11/25/2015 05:47 AM, spam trap wrote: > Hi, > > I have the following code: > > cms::Message *pMessage; > ... > std::vector propertyNames = pMessage->getPropertyNames(); > > According to valgrind this leaks memory. propertyNames is on the > stack BTW. > > ==27758== 50,039,920 (289,968 direct,

Re: Activemq-cpp Synchronous Receive from Multiple Consumers

2015-10-09 Thread Tim Bain
re it will work again. Btw, > I'm testing with ActiveMQ 5.9.0. > > Thanks! > > > > -- > View this message in context: > http://activemq.2283324.n4.nabble.com/Activemq-cpp-Synchronous-Receive-from-Multiple-Consumers-tp4702375p4702718.html > Sent from the ActiveMQ - User mailing list archive at Nabble.com. >

Re: Activemq-cpp Synchronous Receive from Multiple Consumers

2015-10-07 Thread dvstans
te, I have to stop all my clients and manually delete all topics before it will work again. Btw, I'm testing with ActiveMQ 5.9.0. Thanks! -- View this message in context: http://activemq.2283324.n4.nabble.com/Activemq-cpp-Synchronous-Receive-from-Multiple-Consumers-tp4702375p4702718.html

Re: Activemq-cpp Synchronous Receive from Multiple Consumers

2015-10-01 Thread artnaseef
of that message to complete before acknowledging it back to the broker. Hope this helps. -- View this message in context: http://activemq.2283324.n4.nabble.com/Activemq-cpp-Synchronous-Receive-from-Multiple-Consumers-tp4702375p4702547.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: ActiveMQ-CPP message priority

2015-10-01 Thread spamtrap
On Fri, 25 Sep 2015 12:01:15 -0400, Timothy Bish wrote: >On 09/25/2015 11:44 AM, spamtrap wrote: >> On Fri, 25 Sep 2015 11:34:56 -0400, Timothy Bish >> wrote: >> >>> On 09/25/2015 11:29 AM, spamtrap wrote: If you set the message priority with

Re: Activemq-cpp Synchronous Receive from Multiple Consumers

2015-10-01 Thread Tim Bain
this helps. > > > > > -- > View this message in context: > http://activemq.2283324.n4.nabble.com/Activemq-cpp-Synchronous-Receive-from-Multiple-Consumers-tp4702375p4702547.html > Sent from the ActiveMQ - User mailing list archive at Nabble.com. >

Activemq-cpp Synchronous Receive from Multiple Consumers

2015-09-28 Thread dvstans
Hi, Sorry, this is a bit of a long post/question... I have an application where I need to use the synchronous API of the activemq-cpp library where I will have one thread that needs to subscribe to, and receive messages from, multiple topics. After studying the API docs, I don't see a way

ActiveMQ-CPP message priority

2015-09-25 Thread spamtrap
If you set the message priority with cms::Message::setPriority() and then send the message with cms::MessageProducer::send() then the priority of the message is ignored and the message is sent with the default priority of the MessageProducer. This seems like a bug to me.

Re: ActiveMq-CPP question

2015-08-28 Thread spamtrap
On Thu, 27 Aug 2015 10:31:56 -0400, Timothy Bish tabish...@gmail.com wrote: On 08/27/2015 04:40 AM, spamtrap wrote: When I call the cms:Message acknowledge() method I get the message Pointer operator- - Pointee is NULL. printed to stdout/err. How can I avoid this? There isn't enough info

ActiveMQ CPP a Safe C library?

2015-08-28 Thread leaski
get someone to look in to the code to evaluate if the library does its best to use safe C calls, but I thought it would be quicker to ask first. So, any comments? Thanks in advance! -- View this message in context: http://activemq.2283324.n4.nabble.com/ActiveMQ-CPP-a-Safe-C-library-tp4701486

RE: ActiveMQ CPP a Safe C library?

2015-08-28 Thread Weatherby,Gerard
, August 28, 2015 6:56 AM To: users@activemq.apache.org Subject: ActiveMQ CPP a Safe C library? Hi all, Not sure if this is the right place to ask or not, so sorry if it isn't. I am currently using the Active MQ CPP connector, so that I can produce and consume topics over an Active MQ

Re: ActiveMq-CPP question

2015-08-27 Thread Timothy Bish
On 08/27/2015 04:40 AM, spamtrap wrote: When I call the cms:Message acknowledge() method I get the message Pointer operator- - Pointee is NULL. printed to stdout/err. How can I avoid this? There isn't enough info here to make a guess, usually some sample code can make it more obvious what

ActiveMq-CPP question

2015-08-27 Thread spamtrap
When I call the cms:Message acknowledge() method I get the message Pointer operator- - Pointee is NULL. printed to stdout/err. How can I avoid this?

Why does consumer stop receiving message using ActiveMQ-cpp example

2015-08-21 Thread mfan
I am new to the ActiveMQ-CPP, here below was the problem I used the example from here - http://activemq.apache.org/cms/example.html. I tested it using a simple code in below for producer. About right after the producer finished reading, the customer code stops without finish, do anybody know what

  1   2   3   4   5   6   7   8   9   >