ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum IndexWebSphere Message Broker SupportGet message flow name from an event message

Post new topicReply to topic
Get message flow name from an event message View previous topic :: View next topic
Author Message
souciance
PostPosted: Tue Dec 26, 2017 12:05 pm Post subject: Get message flow name from an event message Reply with quote

Disciple

Joined: 29 Jun 2010
Posts: 156

Hello,

From the documentation, it says that the following event message is published by the IIB if a message flow is started:

Code:
<Broker uuid="integrationNodeUuid" label="integrationNodeName" version="1">
<ExecutionGroup uuid="integrationServerUuid">
  <Start>
   <MessageFlow uuid="messageFlowUuid"/>
  </Start>
 </ExecutionGroup>
</Broker>


Now, the message uuid doesn't help me much if I want to know which flow it was that started. Is there any way to get the flow name directly in the event message?
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Tue Dec 26, 2017 1:09 pm Post subject: Reply with quote

Grand Poobah

Joined: 18 Nov 2003
Posts: 19758
Location: LI,NY

postprocessing using the broker api to retrieve the labels using the uuids would probably solve you problem. There may be a way to retrieve the label instead or on top of the uuid in the event message. Read the manual / infocenter
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
souciance
PostPosted: Tue Dec 26, 2017 1:48 pm Post subject: Reply with quote

Disciple

Joined: 29 Jun 2010
Posts: 156

fjb_saper wrote:
postprocessing using the broker api to retrieve the labels using the uuids would probably solve you problem. There may be a way to retrieve the label instead or on top of the uuid in the event message. Read the manual / infocenter


I know already about the broker API to get all the details. But what's the point of the event message if I have to do an additional lookup through another API? I want to subscribe to events. The event should contain enough information about the flow/node/server to be self-contained. I would have expected the event message to contain not only the uuid but the actual name as well. Imagine you subscribe to that topic and you just want to push those messages to elasticsearch or something. If the name was included this was but extremely straight forward.
Back to top
View user's profile Send private message
timber
PostPosted: Tue Dec 26, 2017 2:24 pm Post subject: Reply with quote

Sentinel

Joined: 25 Aug 2015
Posts: 854

The message flow name is included with every monitoring message. Why dont you set up monitoring a take a look.
Back to top
View user's profile Send private message
souciance
PostPosted: Wed Dec 27, 2017 3:46 am Post subject: Reply with quote

Disciple

Joined: 29 Jun 2010
Posts: 156

timber wrote:
The message flow name is included with every monitoring message. Why dont you set up monitoring a take a look.


Maybe I am missunderstanding, but are you referring to monitoring events rather than the pub/sub events published to a topic? I am referring to the latter.
Back to top
View user's profile Send private message
timber
PostPosted: Thu Dec 28, 2017 3:10 am Post subject: Reply with quote

Sentinel

Joined: 25 Aug 2015
Posts: 854

Apologies - I was referring to monitoring messages (although those are also published to a topic, btw).
Back to top
View user's profile Send private message
Display posts from previous:
Post new topicReply to topic Page 1 of 1

MQSeries.net Forum IndexWebSphere Message Broker SupportGet message flow name from an event message
Jump to:



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP


Theme by Dustin Baccetti
Powered by phpBB 2001, 2002 phpBB Group

Copyright MQSeries.net. All rights reserved.