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 » Deciding when and which Node to use ?

Post new topic  Reply to topic
 Deciding when and which Node to use ? « View previous topic :: View next topic » 
Author Message
abhyyy
PostPosted: Mon Jun 10, 2013 9:17 pm    Post subject: Deciding when and which Node to use ? Reply with quote

Voyager

Joined: 29 Sep 2011
Posts: 83

Hi Friends,

I am looking for information on Which node to use or consider while designing a flow and what should be deciding factors. Appreciate if someone can share knowledge on this.

Which node to use and when
-SOAP node VS HTTP node
-Compute Node
-Mapping Node (Choosing over Compute node)
-XSLT node.
-Filter node (vs routing / routetolabel nodes)
-Database node (Choosing over compute node)
-MQget / MQinput (for starting node in flow)

Many Thanks in advance.
_________________
----------------------
NeVeR StOp LeaRnInG.
Back to top
View user's profile Send private message
manoj5007
PostPosted: Mon Jun 10, 2013 10:40 pm    Post subject: Re:Infocenter Reply with quote

Acolyte

Joined: 15 May 2013
Posts: 64

For all the details you had asked for, please refer to the IBM Infocenter.
Back to top
View user's profile Send private message
abhyyy
PostPosted: Mon Jun 10, 2013 11:59 pm    Post subject: Reply with quote

Voyager

Joined: 29 Sep 2011
Posts: 83

The kind of info I am looking for is :
1.When to choose Mapping over Compute node when u have some transformation requirements ?
2. When to choose SOAP over HTTP or vice versa when u have to go for Sync/async webserives communication between client server?

Infocenter doen't have this info !!
_________________
----------------------
NeVeR StOp LeaRnInG.
Back to top
View user's profile Send private message
lancelotlinc
PostPosted: Tue Jun 11, 2013 3:19 am    Post subject: Reply with quote

Jedi Knight

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

abhyyy wrote:
The kind of info I am looking for is :
1.When to choose Mapping over Compute node when u have some transformation requirements ?
2. When to choose SOAP over HTTP or vice versa when u have to go for Sync/async webserives communication between client server?

Infocenter doen't have this info !!


The InfoCentre does have this info, so do the IBM Training classes. This is basic stuff.

Mapping node is useful when your mapping like structures, such as XML to XML. It's less convenient to map unlike structures in mapping node, as in when the data format needs to change in XML structures.

SOAP is useful over HTTP when you have a WSDL. If you have no WSDL, don't use SOAP.
_________________
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
mqjeff
PostPosted: Tue Jun 11, 2013 3:19 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

abhyyy wrote:
The kind of info I am looking for is :
1.When to choose Mapping over Compute node when u have some transformation requirements ?
2. When to choose SOAP over HTTP or vice versa when u have to go for Sync/async webserives communication between client server?

Infocenter doen't have this info !!


Because it's not the kind of thing that can be decided generically.

It's site and usecase specific, and you must make a decision based on your knowledge and intelligence.
Back to top
View user's profile Send private message
mqsiuser
PostPosted: Tue Jun 11, 2013 4:37 am    Post subject: Re: Deciding when and which Node to use ? Reply with quote

Yatiri

Joined: 15 Apr 2008
Posts: 637
Location: Germany

There are nodes that do a specific task, I guess you should use that node for the respective specific task :

SOAP: WebServices (fall-back to an "underlying" protocol (e.g. HTTP, JMS) may be an option though)
HTTP: HTTP-Requests
MQGet: For getting a message when you are in a flow
MQinput: For getting a message from a queue and starting a flow

Then there are 5 transformation nodes, which all do the same thing (transformation)... but also various other things. Some things are only possible e.g. in Java, other only in ESQL... that may influence your decision.

manoj5007 wrote:
For all the details you had asked for, please refer to the IBM Infocenter.

For transformation IBM says that there are different scenarios (where one node is better suited than the other), but there is at least one other person (in this forum) complaining that they don't give clear enough advice(s) when to use which.

Though mqjeff is right on site-specific (e.g. your customer or fellow collegues love the W3C) and use-case-specific (e.g. simple transformations)... and always think and put in all your intelligence! ... and still ... here I try to capture the knowledge of the experienced developers mind set.
_________________
Just use REFERENCEs
Back to top
View user's profile Send private message
Vitor
PostPosted: Tue Jun 11, 2013 4:40 am    Post subject: Reply with quote

Grand High Poobah

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

mqjeff wrote:
It's site and usecase specific, and you must make a decision based on your knowledge and intelligence.




There are a thousand points to consider in any design which make the kind of "decision tree" you're looking for impossible.

Consider Mapping v Compute node for transformation. A general rule (for example) could be that Mapping is used for simple transformations and Compute for complex ones.

Immediately you get bogged down in the definition of "simple". Ask 5 people here what a simple transformation is and you'll get 5 answers.

And if you have a "simple" transformation for an XML to which you have no XSD the Mapping node is unusable.

And why a Compute node? If you have a predominently Java shop a JCN is more appropriate.

And what about all the other transformation options WMB offers? Why not them?

Etc...

Etc...
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
mqsiuser
PostPosted: Wed Jun 12, 2013 12:36 am    Post subject: Re: Deciding when and which Node to use ? Reply with quote

Yatiri

Joined: 15 Apr 2008
Posts: 637
Location: Germany

abhyyy wrote:
-Database node (Choosing over compute node)

I would always use an ESQL-Compute node (and within that likely PASSTHRU).

abhyyy wrote:
-Filter node (vs routing / routetolabel nodes)

I would also prefer an ESQL-Compute node over a Filter-Node and doing a filtering in ESQL... Probably a filter node can (in some cases) make it clearer (than a compute node) that "just filtering" is happening.

Regarding the routing-nodes... routing based on a db-table and using the "destination list" (within the MQOutput-Node) can help making the routing more configurable/adjustable (in the DB-Table). But if you don't need that a route to lable node is certainly useful.
_________________
Just use REFERENCEs
Back to top
View user's profile Send private message
nathanw
PostPosted: Wed Jun 12, 2013 1:10 am    Post subject: Reply with quote

Knight

Joined: 14 Jul 2004
Posts: 550

Simple answer

You look at the info you have and use knowledge, gathered or acquired to decide

Complex Answer

Gain the knowledge buy actually building flows using different nodes and find out which is best

This does many things it helps you gather the knowledge you require and therefore become a better person for it.

It also allows you to then answer your own questions and learn while you do.

Nothing worthwhile is ever easily acquired
_________________
Who is General Failure and why is he reading my hard drive?

Artificial Intelligence stands no chance against Natural Stupidity.

Only the User Trace Speaks The Truth
Back to top
View user's profile Send private message MSN Messenger
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Deciding when and which Node to use ?
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.