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 Index » WebSphere Message Broker (ACE) Support » Regading MQInput node

Post new topic  Reply to topic
 Regading MQInput node « View previous topic :: View next topic » 
Author Message
alokamit72
PostPosted: Tue Jul 05, 2011 1:09 am    Post subject: Regading MQInput node Reply with quote

Newbie

Joined: 02 Jun 2011
Posts: 8

Hi,

In MQ Input node i can see Transaction Mode Property and the option is Automatic,Yes , and no. In which senario we set Automatic, Yes and No.?


Regards
Amit
Back to top
View user's profile Send private message
Vitor
PostPosted: Tue Jul 05, 2011 4:18 am    Post subject: Re: Regading MQInput node Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

alokamit72 wrote:
In which senario we set Automatic, Yes and No.?


In scenarios where you want the transactionality of the flow to be true, false or automatically determined according to your design.

You'll find this described in the node's documentation.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
lancelotlinc
PostPosted: Tue Jul 05, 2011 4:40 am    Post subject: Reply with quote

Jedi Knight

Joined: 22 Mar 2010
Posts: 4941
Location: Bloomington, IL USA

99 percent of the time it will be set to "no".

Have you attended the WMB Developer's training course? Many of your questions recently asked would be addressed by the instructor.
_________________
http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER
Back to top
View user's profile Send private message Send e-mail
Vitor
PostPosted: Tue Jul 05, 2011 4:43 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

lancelotlinc wrote:
99 percent of the time it will be set to "no".


On what do you base that assertion? Again, you're presenting personal opinion as fact - "it will be" - without establishing criteria.

lancelotlinc wrote:
Have you attended the WMB Developer's training course? Many of your questions recently asked would be addressed by the instructor.


Training!
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
lancelotlinc
PostPosted: Tue Jul 05, 2011 4:48 am    Post subject: Reply with quote

Jedi Knight

Joined: 22 Mar 2010
Posts: 4941
Location: Bloomington, IL USA

Sir Vitor, please offer your differing opinion. In your experience, having ten apples, how many of the ten apples would be set to "no" if they were MQInput nodes?

In memory of Peter Falk, Columbo: you have three bags of gold. Two of the bags of gold contain real gold coins, each coin weighing precisely one ounce. One bag of gold contains fake coins, each fake coin weighing 1.1 ounces. Having the opportunity to use a scale to make a weight measurement ONLY ONCE, how would you figure out which bag contains the fake coins, and what two bags contain the real gold? You cannot take two weight measurements, only one.
_________________
http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER
Back to top
View user's profile Send private message Send e-mail
Vitor
PostPosted: Tue Jul 05, 2011 4:57 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

lancelotlinc wrote:
Sir Vitor, please offer your differing opinion.


Why? You didn't offer an opinion, you presented a fact. To a poster you'd already identified as inexperienced and untrained. If you'd used the phrase "In my opinion" or even "In my experience" I wouldn't have said a word.

lancelotlinc wrote:
In your experience, having ten apples, how many of the ten apples would be set to "no" if they were MQInput nodes?


In my experience, 40 - 50% of flows have transactionality set true becuase they're updating a database and/or require message rollback.

Though 90% of the flows I encounter use Automatic because no-one's bothered to set it. 5% have Automatic because transactionality's being controlled by persistence.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
jlaisbett
PostPosted: Tue Jul 05, 2011 12:34 pm    Post subject: Reply with quote

Apprentice

Joined: 27 Nov 2009
Posts: 39

From what I've seen you don't need transactions enabled for an MQ Input node to get transactions for a database update, the database calls are still done inside a transaction anyway ... Or maybe that depends on which approach is being used?

I've seen it mostly used for MQ back outs and persistent messages, although I've also seen it a lot because it's turned on by default and nobody changed it. Another use is for globally co-ordinated transactions.
Back to top
View user's profile Send private message
Vitor
PostPosted: Tue Jul 05, 2011 12:48 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

jlaisbett wrote:
From what I've seen you don't need transactions enabled for an MQ Input node to get transactions for a database update, the database calls are still done inside a transaction anyway ... Or maybe that depends on which approach is being used?


Flows only use transactions if transactionality is true, either because it's been deliberately set true or the transactionality has been left as the default (automatic) and WMB has determined that transactions are to be used.

jlaisbett wrote:
I've also seen it a lot because it's turned on by default and nobody changed it.


This would be my guess. The default is Automatic.
_________________
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 topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Regading MQInput node
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.