QMF java example

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

QMF java example

Ilyushonak Barys
Hi, folks.

Could you please share an example of using QMF in java?
Is it any way to discovery queue names from C++ broker (0.8) from java?

Best Regards,
Barys Ilyushonak
Information Technology Division
Troika Dialog, 4, Romanov lane, Moscow 125009, Russia
Phone. +7 495 2580500 ext. 1229


_______________________________________________________

The information contained in this message may be privileged and conf idential and protected from disclosure. If you are not the original intended recipient, you are hereby notified that any review, retransmission, dissemination, or other use of, or taking of any action in reliance upon, this information is prohibited. If you have received this communication in error, please notify the sender immediately by replying to this message and delete it from your computer. Thank you for your cooperation. Troika Dialog, Russia.
If you need assistance please contact our Contact Center  (+7495) 258 0500 or go to www.troika.ru/eng/Contacts/system.wbp  

Reply | Threaded
Open this post in threaded view
|

Re: QMF java example

Gordon Sim
On 06/10/2011 04:12 PM, Ilyushonak Barys wrote:
> Could you please share an example of using QMF in java?
> Is it any way to discovery queue names from C++ broker (0.8) from java?

Attached is an example that lists the names of all the queues on the
broker[1]. It does require the JMS client library to be patched (also
attached) however (will try to get that or something similar committed
in time for 0.12; see https://issues.apache.org/jira/browse/QPID-3302).

[1] tested against 0.8 broker, but only with latest JMS client code.


---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:[hidden email]

amqp-0-10_app-id.patch (719 bytes) Download Attachment
Example.java (3K) Download Attachment