Re: build activemqcpp embedding apr1/apr-util-1 static libraries (Linux)

2009-06-25 Thread dongabda
Timothy Bish wrote: > > On Thu, 2009-06-25 at 08:51 -0700, dongabda wrote: >> How can I embed the libapr-1.a and libapr-util-1.a into libactivemqcpp.a? >> >> I've an application that uses activemq. I put the -lactivemq to the >> linker >> f

build activemqcpp embedding apr1/apr-util-1 static libraries (Linux)

2009-06-25 Thread dongabda
How can I embed the libapr-1.a and libapr-util-1.a into libactivemqcpp.a? I've an application that uses activemq. I put the -lactivemq to the linker flags but compiling it reports this errror: /usr/lib/gcc/i386-redhat-linux/4.3.2/../../../libactivemq-cpp.a(libactivemq_cpp_la-Exception.o): In f

failover doesn't reconnect (CMS)

2009-06-10 Thread dongabda
I'm testing the CMS SimpleAsyncConsumer example (last activemqcpp 3.0 RC version). I modified the brokerURI to test the failover transport, because it can detect network fails. brokerURI="failover:(tcp://192.168.202.216:61616)"; When the network is down the CMS example application doesn't detect

CMS - Don't receive messages

2009-05-13 Thread dongabda
I've a linux application (CMS 2.2.5) that consumes messages from a producer (Java). If the producer's or consumer's PC lost the link and the consumer send a message to this consumer, and the link isn't restore quickly (30" aprox) the consumer never receives messages after link restauration. Why?

How to Generate RPM of activemqcpp-2.2.5

2009-04-07 Thread dongabda
I want to generate the rpm of activemq-cpp for Fedora Core 10. I saw that the apr and apr-util have the .spec files, but the activemq-cpp not. Is there any way to generate it automatically or I must generate it manually? -- View this message in context: http://www.nabble.com/How-to-Generate-RP

Re: Reconnection

2009-04-06 Thread dongabda
} Andreas Gies-3 wrote: > > Hi, > > perhaps you could come up with a small test case that shows the error ? > > Best regards > Andreas > > > On Mar 26, 2009, at 10:11 AM, dongabda wrote: > >> >> Yes, I'm using the excepcionListener and onExcepti

Re: Reconnection

2009-03-26 Thread dongabda
wrote: > > Hi, > > perhaps you could come up with a small test case that shows the error ? > > Best regards > Andreas > > > On Mar 26, 2009, at 10:11 AM, dongabda wrote: > >> >> Yes, I'm using the excepcionListener and onException, but any &g

Re: Reconnection

2009-03-26 Thread dongabda
The consumer is running in a Linux (Fedora Core 10) I saw (doing netstat) that the tcp connection appears like ESTABLISHED, and this is not true because the netkork link is lost. Any idea? Timothy Bish wrote: > > On Thu, 2009-03-26 at 02:11 -0700, dongabda wrote: >> Yes, I

Re: Reconnection

2009-03-26 Thread dongabda
Yes, I'm using the excepcionListener and onException, but any exception is captured when the PC lost the network link. If I stop the messagebroker the exception occurs, but with link lost not. How can I resolve it? -- View this message in context: http://www.nabble.com/Reconnection-tp226

Re: Reconnection

2009-03-24 Thread dongabda
the session or connection are closed. Thanks for your help Best regards dongabda Andreas Gies-3 wrote: > > Hi there, > > i assume that you have set the clientId and consumer name to the same > value > after the reconnect ? > > Best regards > Andreas >

Reconnection

2009-03-23 Thread dongabda
I have a messagebroker and a producer in Java (Both in same PC). The consumer is in other PC and C++(activemq-cpp.2.2.4) I use Topics with durableconsumer. When the messagebroker is stopped and I launch the consumer, it gives a CMSException. This is perfect. but when all is running (messagebroker,