NSS < v3.14 and qpidc broker build

2015-03-28 Thread Aleš Trček
Hi all, I was building qpid c++ broker 0.32 on RHEL 6.3 and came across an issue with NSS version. Build fails with: [ 0%] Building CXX object src/CMakeFiles/qpidcommon.dir/qpid/sys/ssl/util.cpp.o /temporar/atk/qpid-cpp-0.32/src/qpid/sys/ssl/util.cpp: In function âvoid qpid::sys::ssl::initNSS(c

Qpid connection/session from JMS client with unreliable conection

2014-04-01 Thread Aleš Trček
Hi all, I have been using qpid for more than a year now and never experienced any connection problems before. However, currently we have some network issues in our company and one of the effects is that qpid is constantly reporting errors with sync. This is happening in test environment, but it

RE: Building qpid C++ broker on AIX

2013-12-12 Thread Aleš Trček
sted. Regards, Ales -----Original Message- From: Aleš Trček [mailto:ales.tr...@halcom.si] Sent: Wednesday, December 11, 2013 7:12 PM To: users@qpid.apache.org Subject: RE: Building qpid C++ broker on AIX Hi all, After some while I got back to building qpidc (just the client part actually)

RE: Building qpid C++ broker on AIX

2013-12-11 Thread Aleš Trček
Hi all, After some while I got back to building qpidc (just the client part actually) on AIX. In the meanwhile I got an upgraded box with AIX 7.1 (on POWER CPU) and latest compiler xlc 12.1. I then built boost 1.47.0 (with some IBM patch required for xlc) and after a few more problems managed t

Reappearing messages with qpidc and bdb persistency store

2013-08-29 Thread Aleš Trček
Hi all, Every now and then, when I restart my qpidc broker (version 0.22) some messages reappear in the queues, although they were long since taken from the queues (and committed). Something like that (qpid-stat output): queue dur autoDel excl msg

RE: JMS client reconnect to qpidc

2013-08-21 Thread Aleš Trček
les -Original Message- From: Gordon Sim [mailto:g...@redhat.com] Sent: Tuesday, August 20, 2013 7:52 PM To: users@qpid.apache.org Subject: Re: JMS client reconnect to qpidc On 08/20/2013 05:58 PM, Aleš Trček wrote: > Hi all, > > I tested a situation where I have JMS consumers (and

JMS client reconnect to qpidc

2013-08-20 Thread Aleš Trček
Hi all, I tested a situation where I have JMS consumers (and producers for that matter) attached to some queues on qpidc-0.22 broker and then I stop the broker and start it again (with persistence module). The connection is not reestablished, and subsequent calls to MessageConsumer.receive() al

RE: Qpid C++ broker & JMS rollback not working properly

2013-08-20 Thread Aleš Trček
; On 08/19/2013 11:28 PM, Aleš Trček wrote: >> Is there something broken/changed in qpidc 0.22 or am I missing >> something? > > There were some major changes to qpidd between 0.18 and 0.22 and I can > see a bug that I think might be at the root of this. Can you send me

Qpid C++ broker & JMS rollback not working properly

2013-08-19 Thread Aleš Trček
Hi all, I have a rather nasty problem I can't seem to be able to solve, using the following setup: -qpidc-0.22 broker -qpid JMS client (different versions tried) I create a transacted session and consume messages from the queue. When I call commit(), the message on the broker gets commited all

RE: Building qpid C++ broker on AIX

2013-06-04 Thread Aleš Trček
3-06-02 at 15:45 +0000, Aleš Trček wrote: > ... > Now I have another issue, which I fear is not going to be an easy one to > resolve. One thing I notice is that you are using a very old version of boost. It may not help at all, but maybe newer versions of boost have a work around

RE: Building qpid C++ broker on AIX

2013-06-02 Thread Aleš Trček
conversion. All of which is long winded explanation to say it would be better to make the conversion explicit and to add: virtual const IOHandle& getIOHandle() const = 0; Obviously this may cause some knock-on changes throughout the code base, but I suspect not too many. Try

Building qpid C++ broker on AIX

2013-05-27 Thread Aleš Trček
Hi all, Since I obviously won't succeed with this so easily, I'm opening a thread on the subject. Many thanks to all who can help me. System with AIX 5.3 / xlC 9.0 (yeah old as sh*t, but I can't do anything about that soon) and Boost 1.34, building qpidc-0.20. Anyway, I managed to go over some

(Re)delivery count / dead letter queue on C++ broker

2013-05-23 Thread Aleš Trček
Hi all, In documentation for Java qpid broker it says that maximum (re)delivery count and subsequent redirection to dead letter queue are supported - http://qpid.apache.org/books/trunk/AMQP-Messaging-Broker-Java-Book/html/Java-Broker-Runtime-Handling-Undeliverable-Messages.html. Is this feature

RE: Circular reference in qpidc

2013-05-23 Thread Aleš Trček
Hi, Thanx, the fix is OK so this issue is resolved. Regards, Ales -Original Message- From: Darryl L. Pierce [mailto:dpie...@redhat.com] Sent: Tuesday, May 21, 2013 2:45 PM To: users@qpid.apache.org Subject: Re: Circular reference in qpidc On Mon, May 20, 2013 at 09:23:10PM +, Aleš

Circular reference in qpidc

2013-05-20 Thread Aleš Trček
Hi all, I am trying to compile qpidc 0.20 on AIX, and have come across a strange issue... Compiling the qpid/framing/AMQP_ServerProxy.o object, the compiler produces the following error: "qpid_build/qpidc-0.20/src/qpid/framing/Handler.h", line 52.47: 1540-0407 (S) The base class "Handler" conta

RE: Qpid in OSGI

2013-05-12 Thread Aleš Trček
Hi, Try it like this: ClassLoader origCL = Thread.currentThread().getContextClassLoader(); try { // OSGi classloader mess hack Thread.currentThread().setContextClassLoader(this.getClass().getClassLoader()); ctxJNDI = new InitialContext(props); } finally { Thread.currentThread().setCon

Java JMS client eating InterruptedException

2013-04-02 Thread Aleš Trček
Hi all! I am implementing proper stopping (with ExecutorService.shutdownNow()) of a few worker threads I have, that are consuming messages from the queue all the time, and if there were no messages the threads wouldn't stop... Thread.currentThread().isInterrupted() is always false. So after a l

RE: C++ broker and priority queues

2013-03-01 Thread Aleš Trček
; --print-headers=yes | grep prio > > Properties: {prio:three, sn:1, ts:1362136563996705690, > > x-amqp-0-10.routing-key:test} > > Properties: {prio:two, sn:1, ts:1362136552849962388, > > x-amqp-0-10.routing-key:test} > > Properties: {prio:one, sn:1, ts:1362136559340302340, &

RE: C++ broker and priority queues

2013-03-01 Thread Aleš Trček
ava-Broker-Queues-OtherTypes.html#Java-Broker-Queues-OtherTypes-SetLowPrefetchfor more details. Robbie On 28 Feb 2013 10:17, "Aleš Trček" wrote: > Thanks for the suggestion, however this does not seem to work. Queue > is created, messages can be exchanged, but I receive them FIFO

RE: C++ broker and priority queues

2013-02-28 Thread Aleš Trček
at.com/knowledge/docs/en-US/Red_Hat_Enterprise_MRG/2/html/Messaging_Programming_Reference/sect-Priority_Queuing.html). >I'm not sure whether this means that the functionality has been removed since >0.14. > >Regards >Jakub > >On Wed, Feb 27, 2013 at 4:46 PM, Aleš Trček wrote: > >> re is no trace of priority queues. How can I create one, or i