C++ broker JournalInactive couldn't setup next timer firing

2018-03-21 Thread Jan Bares, WOOD & Co.
-6730 and --journal-flush-timeout. This option is not set. There was no high load when the errors appeared. The negative number is strange, what could be reason for that? Qpid runs on virtual server. Kind regards, Jan Jan Bares Calypso / Java Lead Developer Hradecka 10 Czech Republic Mobile

RE: qpid-tool (QMF) filters

2018-01-25 Thread Jan Bares, WOOD & Co.
time, but give it a try, I think it should still > work. > > Thanks & Regards > Jakub > > On Wed, Jan 24, 2018 at 5:39 PM, Jan Bares, WOOD & Co. > <jan.ba...@wood.cz> > wrote: > > > Hi, > > > > I need some pointers on what I can write into

qpid-tool (QMF) filters

2018-01-24 Thread Jan Bares, WOOD & Co.
Hi, I need some pointers on what I can write into filter parameter of qpid-tool call. I am able to list all methods with "schema xy". I want to "call reroute" or "call queueMoveMessages" with filter. Many thanks, Jan Jan Bares Calypso / Java Lead Developer Hra

RE: JMS JNDI destination

2018-01-24 Thread Jan Bares, WOOD & Co.
> -Original Message- > From: Gordon Sim [mailto:g...@redhat.com] > Sent: Tuesday, January 23, 2018 6:55 PM > To: users@qpid.apache.org > Subject: Re: JMS JNDI destination > > On 23/01/18 17:37, Jan Bares, WOOD & Co. wrote: > > I want to send a message via

JMS JNDI destination

2018-01-23 Thread Jan Bares, WOOD & Co.
, Jan Jan Bares Calypso / Java Lead Developer Hradecka 10 Czech Republic Mobile: +420 776 333 676 In association with WOOD & Company Financial Services, a.s. http://www.wood.cz DISCLAIMER WOOD & Company Financial Services, a.s. and its

Test message redelivery with qpid-receive

2018-01-22 Thread Jan Bares, WOOD & Co.
Hi, Can I test message redelivery with qpid-receive? I would like to seem message delivered to alternate queue (DLQ), how can I tell qpid-receive to reject a message? Thank you for your time, Jan Jan Bares Calypso / Java Lead Developer Hradecka 10 Czech Republic Mobile: +420 776 333 676

RE: C++ broker flow to disk

2018-01-22 Thread Jan Bares, WOOD & Co.
Re: C++ broker flow to disk > > On 22/01/18 14:55, Jan Bares, WOOD & Co. wrote: > > I get > > > > qpid-config: error: option --limit-policy: invalid choice: > > 'flow-to-disk' (choose from 'none', 'reject', 'ring', 'ring-strict') > > > > with

C++ broker flow to disk

2018-01-22 Thread Jan Bares, WOOD & Co.
-4339 says, it was removed in 0.19 and reimplemented in 0.23. Kind regards, Jan Jan Bares Calypso / Java Lead Developer Hradecka 10 Czech Republic Mobile: +420 776 333 676 In association with WOOD & Company Financial Services, a.s. http://www.wood.cz DISCLA

C++ broker QMF GUI

2018-01-18 Thread Jan Bares, WOOD & Co.
Hi, There used to be javascript single page QMF GUI for C++ broker some years ago, is it still in development? Where can I find it? The Java broker has its management console, but it seems to be baked into the broker. Kind regards, Jan Jan Bares Calypso / Java Lead Developer Hradecka 10

RE: qpid-conf and AMQP version

2018-01-18 Thread Jan Bares, WOOD & Co.
> -Original Message- > From: Gordon Sim [mailto:g...@redhat.com] > Sent: Thursday, January 18, 2018 11:10 AM > To: users@qpid.apache.org > Subject: Re: qpid-conf and AMQP version > > On 18/01/18 09:38, Jan Bares, WOOD & Co. wrote: > > I installed

qpid-conf and AMQP version

2018-01-18 Thread Jan Bares, WOOD & Co.
are not specified. Would someone shed some light on this? Kind regards, Jan Jan Bares Calypso / Java Lead Developer Hradecka 10 Czech Republic Mobile: +420 776 333 676 In association with WOOD & Company Financial Services, a.s. http://www.wood.cz DISCLAIMER

RE: qpid-send and --properties possible bug/compatibility problem?

2014-06-13 Thread Jan Bares
Thank you Gordon, I explicitly set the encoding on property variant in qpid-send.cpp and it worked for me too. Kind regards, Jan -Original Message- From: Gordon Sim [mailto:g...@redhat.com] Sent: Friday, June 13, 2014 1:54 PM To: users@qpid.apache.org Subject: Re: qpid-send and

qpid-send and --properties possible bug/compatibility problem?

2014-06-12 Thread Jan Bares
Hi, property passed with message like that: qpid-send -b ${BROKER} -a exchange/cal --durable yes --content-string content --property MyProp=MyValue will throw MessageFormatException in getStringProperty() in Java JMS client. The class of value is array of bytes instead of String.

Tuning JMS consumer speed (acknowledge)

2014-04-09 Thread Jan Bares
Hi, I noticed high consumer speedup (10x) when I do not acknowledge individual messages but bunch of them at once. I use client acknowledge mode as in the case of failure to correctly process the message I may lose it. Seeing message more than once is not a (big) problem. Currently I consume

RE: Send messages from one queue to another queue?

2014-03-14 Thread Jan Bares
-Original Message- From: Fraser Adams [mailto:fraser.ad...@blueyonder.co.uk] Sent: Thursday, March 13, 2014 6:51 PM To: users@qpid.apache.org Subject: Re: Send messages from one queue to another queue? Don't know if you noticed my post yesterday about the move/purge/reroute stuff

RE: Send messages from one queue to another queue?

2014-03-13 Thread Jan Bares
@qpid.apache.org Subject: Re: Send messages from one queue to another queue? On 03/12/2014 03:30 PM, Jan Bares wrote: Is there easy way to send messages from one queue to another queue? I am testing my application and I need to re-send messages from DLQ to original queue without writing tiny application

RE: Send messages from one queue to another queue?

2014-03-13 Thread Jan Bares
AM, Jan Bares wrote: Yes, this is C++ broker. I am curious where to find list of QMF commands and parameters but did not found anything. Where are they documented? Unfortunately all there is is the schema 'document' itself, which is now in https://svn.apache.org/repos/asf/qpid/trunk/qpid/cpp

RE: QPID C++ broker monitoring and management

2014-03-11 Thread Jan Bares
Windows line endings? I'm using a Linux box - always have done. I generally use gedit on Linux to edit and these scripts are no exception. On 10/03/14 09:31, Jan Bares wrote: Hi Fraser, Thank you for the change, it works fine, I just have to convert to Unix line endings. Yes

RE: QPID C++ broker monitoring and management

2014-03-10 Thread Jan Bares
Hi Fraser, Thank you for the change, it works fine, I just have to convert to Unix line endings. Yes, the cygpath must be called before you use it. What I meant was to keep just the Cygwin detection code at the script begin. Is there any reason why you use Windows line endings? I do not have

RE: QPID C++ broker monitoring and management

2014-03-07 Thread Jan Bares
No problem at all, I am on C++ broker and QMF GUI is nice gem, I should have look into it sooner. I will also try to use ACLs but right now I am on other tasks too, will let you know. Kind regards, Jan Hi Jan, for info I was planning on taking a look at this just now, but I've just done an

RE: QPID C++ broker monitoring and management

2014-03-07 Thread Jan Bares
Thanks Fraser, I agree with your points including fingers :-) Using ACLs is the right way, I am still learning new features of QPID. Kind regards, Jan Hi Jan, There are no *plans* as such - mainly due to limited time and the fact that it hasn't been a priority for me (I'm trying to focus on

RE: QPID C++ broker monitoring and management

2014-03-05 Thread Jan Bares
https://svn.apache.org/repos/asf/qpid/trunk/qpid/tools/src/java Thanks. I see there are some problems with Cygwin compatibility, where can I post patches or suggestions? Regards, Jan DISCLAIMER WOOD Company Financial Services, a.s. and its branches

RE: QPID C++ broker monitoring and management

2014-03-05 Thread Jan Bares
for Cygwin: https://issues.apache.org/jira/browse/QPID-5604 Kind regards, Jan -Original Message- From: Gordon Sim [mailto:g...@redhat.com] Sent: Wednesday, March 05, 2014 12:10 PM To: users@qpid.apache.org Subject: Re: QPID C++ broker monitoring and management On 03/05/2014 09:55 AM, Jan

RE: QPID C++ broker monitoring and management

2014-03-05 Thread Jan Bares
To: users@qpid.apache.org Subject: Re: QPID C++ broker monitoring and management On 03/05/2014 09:55 AM, Jan Bares wrote: https://svn.apache.org/repos/asf/qpid/trunk/qpid/tools/src/java Thanks. I see there are some problems with Cygwin compatibility, where can I post patches

RE: QPID C++ broker monitoring and management

2014-03-05 Thread Jan Bares
Hi, See inline Hi Jan, Just looked through your Jira. I'm not familiar with Cygwin I'm afraid - I tend to do all my stuff on a Linux box, are you saying that all I need to do is something like (not sure the best place to put your tweak without trying it): WHEREAMI=`dirname $0` if [ -z

QPID C++ broker monitoring and management

2014-03-04 Thread Jan Bares
Hi, Which tools do you use for monitoring? I would like to use something like Zabbix (www.zabbix.com) for QPID monitoring, should I use the command line tool like qpid-stat to gather statistics or is there better option? And what do you monitor? This pops out of my mind (besides log): *

RE: JMS AMQP 1.0 - can the receiver.receive(timeout) return null even when timeout not expired?

2014-02-26 Thread Jan Bares
Posted to SO, someone from MS is lingering there: http://stackoverflow.com/questions/22046467/servicebus-over-amqp-closes-consumer Cheers, Jan -Original Message- From: Rob Godfrey [mailto:rob.j.godf...@gmail.com] Sent: Tuesday, February 25, 2014 4:12 PM To: users@qpid.apache.org

RE: JMS AMQP 1.0 - can the receiver.receive(timeout) return null even when timeout not expired?

2014-02-25 Thread Jan Bares
themselves don;t provide an immediate answer then raising a JIRA and attaching the logs to them is probaly the easiest way of sharing them. Hope this helps, Rob On 24 February 2014 18:04, Jan Bares jan.ba...@wood.cz wrote: Hi, JMS 0.26 with AMQP 1.0 and Service Bus. I have concurrent

RE: JMS AMQP 1.0 SocketException for rapid session/producer open and close

2014-02-24 Thread Jan Bares
there... I'm just wondering if rapid closing and opening of sessions is leading the client to open one session before the last session has been fully closed on the server side, and that perhaps this is not something that ServiceBus is happy with... I think you are right and I should ask SB

NPE in Receiver$1.remoteDetached() with AMQP 1.0 and Service Bus

2014-02-24 Thread Jan Bares
Hi, I am testing QPID Java JMS client 0.26 against Microsoft Service Bus. I run queue consumer in one process, consumes messages. In another process I run publisher, publisher produces 1 small messages. Approximately at the time producer finishes its work, I get NPE in consumer. The

RE: NPE in Receiver$1.remoteDetached() with AMQP 1.0 and Service Bus

2014-02-24 Thread Jan Bares
://issues.apache.org/jira/browse/QPID-5206 for which a fix was released in 0.26 (looking at the line numbers in the files it's clear that the exception you are seeing is from the codebase in trunk prior to 24th October 2013 when this fix was applied)/ -- Rob On 24 February 2014 16:41, Jan Bares jan.ba

JMS AMQP 1.0 - can the receiver.receive(timeout) return null even when timeout not expired?

2014-02-24 Thread Jan Bares
Hi, JMS 0.26 with AMQP 1.0 and Service Bus. I have concurrent producer and receiver. The receiver.receive(7) returns null after ~17 seconds(the timeout did not expired). The javadoc says that null should be returned when timeout expires or message consumer is concurrently closed. I do not

JMS AMQP 1.0 SocketException for rapid session/producer open and close

2014-02-21 Thread Jan Bares
Hi, The code bellow throws SocketException with QPID 0.26 AMQP 1.0. It works fine with AMQP 0-10 client. When I add sleeps of 100ms before and after the close() calls, it works. Seems like the close() method returns too early when background threads are still not finished. The code is minimal

RE: JMS AMQP 1.0 SocketException for rapid session/producer open and close

2014-02-21 Thread Jan Bares
-SNAPSHOT nightly build)... The error you are getting would indicate that the broker has closed the connection for some reason, were there any error messages in the log of your broker when you run this test? -- Rob Thanks, Rob On 21 February 2014 10:35, Jan Bares jan.ba...@wood.cz wrote

Java JMS acknowledge and prefetech

2014-02-20 Thread Jan Bares
Hi, I need someone with good JMS knowledge to clarify the Message.acknowledge(): Acknowledges all consumed messages of the session of this consumed message. With QPID 0.26 and AMQP 1.0 is seems that acknowledge also acknowledges prefetched messages that were not returned from receive() or

RE: Java JMS acknowledge and prefetech

2014-02-20 Thread Jan Bares
has delivered to the application, and then when message.acknowledge() is called updates all the messages delivered through that consumer), however I'll set up a proper test after lunch to see if I can replicate your issue. Cheers, Rob On 20 February 2014 11:16, Jan Bares jan.ba

RE: New User JMS API Questions

2014-02-13 Thread Jan Bares
Thanks Robbie, this is quite interesting stuff for QPID/AMQP newbies. How does this stuff changes with AMQP 1.0? Thanks, Jan -Original Message- From: Robbie Gemmell [mailto:robbie.gemm...@gmail.com] Sent: Wednesday, February 12, 2014 7:09 PM To: users@qpid.apache.org Subject: Re:

Can QPID JMS client for 0-10 and 1.0 coexist on the same classpath?

2014-01-17 Thread Jan Bares
Hi, My Java application needs to conect to AMQP 0-10 broker (RedHat MRG) and AMQP 1.0 broker (MS Service Bus). Since the 1.0 client is shipped in different packages (1.0 and 0-10 and lower) and uses different package names, I hope that I can use both clients from the same application. Can I

RE: Documentaiton/clarification of heartbeat for broker

2013-04-10 Thread Jan Bares
of heartbeat for broker On 9 April 2013 15:28, Jan Bares jan.ba...@wood.cz wrote: I cannot find any documentation about how C++ broker detects dead clients. In client I can set heartbeat/idle_timeout - this will allow client to detect dead broker but I have not found any documentation how broker

Documentaiton/clarification of heartbeat for broker

2013-04-09 Thread Jan Bares
Hi, I cannot find any documentation about how C++ broker detects dead clients. In client I can set heartbeat/idle_timeout - this will allow client to detect dead broker but I have not found any documentation how broker can detect dead clients. It even seems like broker doesn't use

RE: QPID and HermesJMS

2013-04-03 Thread Jan Bares
The URL/URI syntax is unclear on windows, I use just single slash after file, so my URL looks like this: file:/C:/Users/myname/.hermes/jmsClient.properties Also, have you filled the binding property and use that property in lookup name? You may also remove spaces before and after the '='.

RE: QPID and HermesJMS

2013-04-02 Thread Jan Bares
- From: Jan Bares [mailto:jan.ba...@wood.cz] Sent: Friday, March 29, 2013 6:28 PM To: users@qpid.apache.org Subject: RE: QPID and HermesJMS Tried with this new build but with the same problems, see the connectionURLString property. The QPID 0.16+ AMQConnectionFactory has default constructor

RE: QPID and HermesJMS

2013-04-02 Thread Jan Bares
Thanks, I tried the same method, it works for me too, thanks. Kind Regards, Jan -Original Message- From: Robbie Gemmell [mailto:robbie.gemm...@gmail.com] Sent: Tuesday, April 02, 2013 4:09 PM To: users@qpid.apache.org Subject: Re: QPID and HermesJMS Hi, I was able to get

RE: QPID and HermesJMS

2013-03-29 Thread Jan Bares
to QPID. Hermes does the trick when talking JMS to jboss ;-) Venlig hilsen / Best Regards Aage Nielsen Fredens Torv 1B, 1. DK-8000 Aarhus C Denmark Cvr; 33647166 M: +45 5390 1639 E: a...@openminds.dk www.openminds.dk 2013/3/26 Jan Bares jan.ba...@wood.cz Hi, I don't know

RE: QPID and HermesJMS

2013-03-26 Thread Jan Bares
Hi, I don't know why is that but the property you need to set is connectionURLString, there is no setter for connectionURL in AMQConnectionFactory. HermesJMS did not offer this property, probably the QPID plugin needs to updated? When you set it manually in hermes-config.xml, it will, sort

RE: qpid-send and content type

2013-03-22 Thread Jan Bares
Thank you, works fine. Jan -Original Message- From: Gordon Sim [mailto:g...@redhat.com] Sent: Friday, March 22, 2013 12:16 PM To: users@qpid.apache.org Subject: Re: qpid-send and content type On 03/21/2013 05:27 PM, Jan Bares wrote: How can I tell qpid-send to use specific

qpid-send and content type

2013-03-21 Thread Jan Bares
Hi, How can I tell qpid-send to use specific content type? I need to set content type to text/plain so on receiving end the Java JMS client will get javax.jms.TextMessage instead of javax.jms.BytesMessage. Kind regards, Jan Jan Bareš Calypso Lead Developer In association with WOOD Company

RE: What if a a message is sent and then a connection is instantly closed after that ?

2012-11-29 Thread Jan Bares
Hi, does this recommendation also apply to Java JMS client? I have a connection open all the time and create session, send message, close session for each message to be sent. It works fine but after sending several thousands messages I got very strange error: javax.jms.IllegalStateException:

RE: What if a a message is sent and then a connection is instantly closed after that ?

2012-11-29 Thread Jan Bares
It works fine but after sending several thousands messages I got very strange error: javax.jms.IllegalStateException: Object AMQConnection: Host: prgesbclu Port: 5672 Virtual Host: test Client ID: clientid Active session count: 0 has been closed at

RE: Java client and message release or reject

2012-11-09 Thread Jan Bares
) { getQpidSession().messageRelease(ranges); } else { getQpidSession().messageRelease(ranges, Option.SET_REDELIVERED); } //I don't think we need to sync } -Original Message- From: Jan Bares [mailto:jan.ba...@wood.cz] Sent

RE: Java client and message release or reject

2012-11-09 Thread Jan Bares
the filter would remain in the queue further. Kind regards, Pavel - Original Message - From: Jan Bares jan.ba...@wood.cz To: users@qpid.apache.org Sent: Thursday, November 8, 2012 6:13:57 PM Subject: RE: Java client and message release or reject Does the Java client

RE: Java client and message release or reject

2012-11-08 Thread Jan Bares
complete example, i.e. including the specification of the alternate exchange. Phil On 7 November 2012 12:45, Gordon Sim gordon.r@gmail.com wrote: On 11/07/2012 12:11 PM, Jan Bares wrote: we are planning to reject messages that do not satisfy message contract (e.g. message

RE: Java client and message release or reject

2012-11-08 Thread Jan Bares
Does the Java client support message reject? I am not speaking about JMS API, but it seems that even internally there is no support for reject, just release (and redeliver). Can someone confirm that please? Thanks, Jan -Original Message- From: Jan Bares [mailto:jan.ba...@wood.cz

Java client and message release or reject

2012-11-07 Thread Jan Bares
Hi, how can I release or reject a message in Java client? JMS API has no methods like that. What is the suggested method? Thanks, Jan DISCLAIMER WOOD Company Financial Services, a.s. and its branches are authorized and regulated by the CNB as Home State regulator and in Poland by the KNF,

RE: Java client and message release or reject

2012-11-07 Thread Jan Bares
, November 07, 2012 11:53 AM To: users@qpid.apache.org Subject: Re: Java client and message release or reject On 11/07/2012 09:09 AM, Jan Bares wrote: how can I release or reject a message in Java client? JMS API has no methods like that. What is the suggested method? What is/(are) the use

RE: Client - broker compatibility

2012-11-07 Thread Jan Bares
Thanks, Jan -Original Message- From: Gordon Sim [mailto:gordon.r@gmail.com] Sent: Wednesday, November 07, 2012 11:49 AM To: users@qpid.apache.org Subject: Re: Client - broker compatibility On 11/07/2012 09:07 AM, Jan Bares wrote: I have another question about compatibility

Client - broker compatibility

2012-10-30 Thread Jan Bares
Hi, Its not clear to me how the different client and broker versions are compatible. It seems to me that compatibility is based on AMQP version, so if the broker is 0-10, any client compatible with 0-10 can be used. E.g. we can use C++ QPID broker version 0.14 and C++/.NET client version 0.18

RE: Client - broker compatibility

2012-10-30 Thread Jan Bares
] Sent: Tuesday, October 30, 2012 10:18 AM To: users@qpid.apache.org Subject: Re: Client - broker compatibility On 10/30/2012 08:39 AM, Jan Bares wrote: Its not clear to me how the different client and broker versions are compatible. It seems to me that compatibility is based on AMQP

MRG version vers QPID version

2012-10-26 Thread Jan Bares
Hi, I cannot find a page that will show me which QPID version is bundled into which MRG version. It seems that MRG 2.1 was based on QPID 0.14 but for MRG 2.2 the packages still show qpid 0.14-22, so it seems it is still based on 0.14? Thanks, Jan Jan Bareš Calypso Lead Developer In

RE: JBoss JCA and queue creation

2012-09-21 Thread Jan Bares
upgrading to .16 or checkout and build the source code at: http://qpid.apache.org/source_repository.html Regards, Weston On Sep 19, 2012, at 3:36 AM, Jan Bares jan.ba...@wood.cz wrote: Thanks Weston for your explanation. I have not found any sample related to the JBoss ESB/QPID/JCA

RE: JBoss JCA and queue creation

2012-09-19 Thread Jan Bares
a producer or a consumer (MDB, Servlet) etc, you will see the destinations being created on the Broker. Note, a good place to start is the JCA example code in the source tree. Regards, Weston On Sep 18, 2012, at 5:12 AM, Jan Bares jan.ba...@wood.cz wrote: Hi, When I place

JBoss JCA and queue creation

2012-09-18 Thread Jan Bares
Hi, When I place the following DS configuration to JBoss/ESB deploy folder, will it automatically create the qpid queues? Even for clustered qpid? I am using QPID 0.14. Thanks, Jan I can see that the JCA adapter was deployed == 2012-09-17 11:42:32,722 INFO

RE: 2 Node HA Cluster

2012-08-28 Thread Jan Bares
Hi, Just out of curiosity: For those interested. The configuration that I've settled on is Two Nodes running qpidd + 1 Quorum Node Each node has 2 Nics, allocated on separate switching infrastructure/networks. One network is for cluster comms the other to serve requests (its also

RE: 2 Node HA Cluster

2012-08-28 Thread Jan Bares
. Cheers, /gav On 28 August 2012 17:45, Jan Bares jan.ba...@wood.cz wrote: Hi, Just out of curiosity: For those interested. The configuration that I've settled on is Two Nodes running qpidd + 1 Quorum Node Each node has 2 Nics, allocated on separate switching

RE: .NET to Java JMS interoperability

2011-12-21 Thread Jan Bares
Back to my original question. I looked into Java client sources, and it seems that content-type text/plain or text/xml will create TextMessage on JMS side. We will test it. Jan Jan Bares wrote: Thanks for your time and answer. I was just affraid that we missed something