You can use the following code to get your broker name and queuemanager
name. The code can be use in the evaluate method of your plugin.

String brokerName = getBroker().getName();
String queueManagerName = getBroker().getQueueManagerName();

cheers,
Manuel Carlos Rodriguez
IBM Certified Specialist - WebSphere MQ


> -----Mensaje original-----
> De:   Benjamin Zhou [SMTP:[EMAIL PROTECTED]]
> Enviado el:   Thursday, February 13, 2003 7:44 PM
> Para: [EMAIL PROTECTED]
> Asunto:       Re: Get QMGR name in WMQI 2.1 Flow
>
> I posted the same question a while back, but didn't get positive response
> though. I think this is sth IBM forgot to add to its ESQL function set.
> Someone mentioned to write a plugin to get it, you may try it.
>
> regards,
> Benjamin Zhou
> Princeton Financial
>
>       -----Original Message-----
>       From: Bock, Christian [mailto:[EMAIL PROTECTED]]
>       Sent: Thursday, February 13, 2003 4:18 AM
>       To: [EMAIL PROTECTED]
>       Subject: Get QMGR name in WMQI 2.1 Flow
>
>
>
>       Hi all,
>
>
>
>       I need  to know the queue name where the message comes from and the
> queue manager name where this queue is located.
>
>       The queue was not the problem I found this parameter in the MQMD
> Header named as SourceQueue, but I could not find the qmgr name.
>
>       Has anyone an idea how to get the qmgr name.
>
>
>
>       Regards
>
>
>
>       Christian
>

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive

Reply via email to