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 SupportIs async MQPUT (MQPMO_ASYNC_RESPONSE) exploitable in IIB?

Post new topicReply to topic
Is async MQPUT (MQPMO_ASYNC_RESPONSE) exploitable in IIB? View previous topic :: View next topic
Author Message
fredmoore
PostPosted: Wed Nov 07, 2018 6:40 am Post subject: Is async MQPUT (MQPMO_ASYNC_RESPONSE) exploitable in IIB? Reply with quote

Novice

Joined: 23 Mar 2009
Posts: 23

Hi,

is there a way to achieve asynch MQPUT behavior in IIB (i.e. MQPMO_ASYNC_RESPONSE)? How?

I don't see anything related to this in MQOutput node...

Cheers,
F.
Back to top
View user's profile Send private message
Vitor
PostPosted: Wed Nov 07, 2018 6:58 am Post subject: Re: Is async MQPUT (MQPMO_ASYNC_RESPONSE) exploitable in IIB Reply with quote

Grand High Poobah

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

fredmoore wrote:
is there a way to achieve asynch MQPUT behavior in IIB (i.e. MQPMO_ASYNC_RESPONSE)? How?


Use the MQOutput node outside of the transaction the flow starts (or not use a transaction at all)
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
fredmoore
PostPosted: Wed Nov 07, 2018 7:48 am Post subject: Reply with quote

Novice

Joined: 23 Mar 2009
Posts: 23

Quote:
Use the MQOutput node outside of the transaction the flow starts (or not use a transaction at all)


This means that any non transactional MQPUT originating from an MQOutput node will then be executed with MQPMO_ASYNC_RESPONSE?

I could not find any trace of this in IIB docs...
Back to top
View user's profile Send private message
Vitor
PostPosted: Wed Nov 07, 2018 8:43 am Post subject: Reply with quote

Grand High Poobah

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

My bad - saw "async", read "syncpoint".

IIB doesn't (yet) support this.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
fredmoore
PostPosted: Wed Nov 07, 2018 2:52 pm Post subject: Reply with quote

Novice

Joined: 23 Mar 2009
Posts: 23

Quote:
IIB doesn't (yet) support this.


I did some digging, assuming that the broker is not passing any option related to sync/async put, the put will behave as MQPMO_RESPONSE_AS_Q_DEF, so setting DEFPRESP=ASYNC on the target QLOCAL should do the trick.

Does it make sense?
Cheers,
F.
Back to top
View user's profile Send private message
hughson
PostPosted: Wed Nov 07, 2018 9:04 pm Post subject: Reply with quote

Sentinel

Joined: 09 May 2013
Posts: 840
Location: Bay of Plenty, New Zealand

fredmoore wrote:
Quote:
IIB doesn't (yet) support this.


I did some digging, assuming that the broker is not passing any option related to sync/async put, the put will behave as MQPMO_RESPONSE_AS_Q_DEF, so setting DEFPRESP=ASYNC on the target QLOCAL should do the trick.

Does it make sense?
Cheers,
F.

_________________
Morag Hughson @MoragHughson
IBM MQ Technical Education Specialist
Get your IBM MQ training here!
MQGem Software
Back to top
View user's profile Send private message Visit poster's website
fredmoore
PostPosted: Thu Nov 08, 2018 12:10 am Post subject: Reply with quote

Novice

Joined: 23 Mar 2009
Posts: 23

Great! Thanks Vitor & Morag!
Back to top
View user's profile Send private message
rekarm01
PostPosted: Thu Nov 08, 2018 6:51 pm Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 1315

fredmoore wrote:
the put will behave as MQPMO_RESPONSE_AS_Q_DEF, so setting DEFPRESP=ASYNC on the target QLOCAL should do the trick.

Yes, but the MQOutput node doesn't call MQSTAT, so:
  • For messages not put under syncpoint, the message flow has no way to check whether the put ultimately succeeds.
  • For messages put under syncpoint, if the put fails, then the commit fails too, but the message flow won't know why.
Back to top
View user's profile Send private message
Vitor
PostPosted: Fri Nov 09, 2018 6:00 am Post subject: Reply with quote

Grand High Poobah

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

rekarm01 wrote:
Yes, but the MQOutput node doesn't call MQSTAT




Hence my original comment.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
fredmoore
PostPosted: Fri Nov 09, 2018 6:11 am Post subject: Reply with quote

Novice

Joined: 23 Mar 2009
Posts: 23

In my use case messages are non persistent and outside of UOW, and it is tolerated to miss a message now and then if this gives a gain in throughput.

So DEFPRESP=ASYNC sounds promising.

Cheers,
F.
Back to top
View user's profile Send private message
Vitor
PostPosted: Fri Nov 09, 2018 6:14 am Post subject: Reply with quote

Grand High Poobah

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

fredmoore wrote:
In my use case messages are non persistent and outside of UOW, and it is tolerated to miss a message now and then if this gives a gain in throughput.

So DEFPRESP=ASYNC sounds promising.


And I wish you joy of it.

But given we never delete threads from this forum, it's important not to give the impression to future readers it's fully supported at present.

I'm sure this will change in time.
_________________
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 SupportIs async MQPUT (MQPMO_ASYNC_RESPONSE) exploitable in 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.