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 SupportIIB 9/10: Events is globalTransactionId sent 'outside' IIB?

Post new topicReply to topic
IIB 9/10: Events is globalTransactionId sent 'outside' IIB? View previous topic :: View next topic
Author Message
john.ormerod
PostPosted: Thu Mar 09, 2017 11:16 am Post subject: IIB 9/10: Events is globalTransactionId sent 'outside' IIB? Reply with quote

Novice

Joined: 14 Feb 2017
Posts: 22

Consider when IIB is integrating external 'services' by making an HTTP call, or putting a message to JMS, for example.

In order to correlate messages sent to these external systems (when monitoring them) with IIB, the value in 'globalTransactionId' would need to be added as an http or jms header.

I would like to find out:
1. does IIB handle passing on globalTransactionId as 'the logical thing to do'?
or, more likely
2. how could this be achieved, without changing existing flows?

I'm working on a 'agent' using CMP for controlling monitoring, but I sense that #2 might need to add some kind of listener to IIB itself. Using Spring AOP, perhaps?

Fingers crossed that IIB does provide a way.

Regards, John
Back to top
View user's profile Send private message Send e-mail
Vitor
PostPosted: Thu Mar 09, 2017 11:32 am Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 24518
Location: Ohio, USA

The global transaction id is a way of correlating event messages produced by the broker during the execution of a singular transaction. It's in no way connected to any application messages components.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
john.ormerod
PostPosted: Thu Mar 09, 2017 1:08 pm Post subject: Reply with quote

Novice

Joined: 14 Feb 2017
Posts: 22

Thanks Vitor.
I feared this could be the road block.

I think this situation exposes a current limitation of BTM, in that pulling together a business transaction where IIB calls outside services, is likely to have gaps in the transaction's overview, at the points where it invoked those services, which can't be filled in from their own monitoring in the absence of a common correlation id.

Seems to me that a truly global view of a bus txn that IIB is integrating, needs to find out what happened in any external services invoked - passing the globalCorrelcationId in transport header would handle that, for example.

Reqards, John
Back to top
View user's profile Send private message Send e-mail
mqjeff
PostPosted: Thu Mar 09, 2017 1:32 pm Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17443

There's nothing wrong with including a GTN in the business payload... and using aggregation or collection to ensure that you know which responses from other systems belong to which transaction in IIB. Or if you can include the GTN in the data going out to the other systems and be sure they'll come back.
_________________
Read, Think, Try, Repeat
Back to top
View user's profile Send private message
Vitor
PostPosted: Thu Mar 09, 2017 1:38 pm Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 24518
Location: Ohio, USA

john.ormerod wrote:
I think this situation exposes a current limitation of BTM, in that pulling together a business transaction where IIB calls outside services, is likely to have gaps in the transaction's overview, at the points where it invoked those services, which can't be filled in from their own monitoring in the absence of a common correlation id.


Only if you're not using IBM's Business Activity Monitor, which overcomes this limitation.

john.ormerod wrote:
Seems to me that a truly global view of a bus txn that IIB is integrating, needs to find out what happened in any external services invoked - passing the globalCorrelcationId in transport header would handle that, for example.


And negate the need to buy other IBM software to avoid the kind of development my most worthy associate describes. I'm sure IBM will build this into IIB just as soon as the BAM development team aren't looking.
_________________
Honesty is the best policy.
Insanity is the best defence.
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 SupportIIB 9/10: Events is globalTransactionId sent 'outside' IIB?
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.