Pinned topic dp:url-open vs dp:xset-target
Answered question This question has been answered.
Unanswered question This question has not been answered yet.
I need to push a message to an MQ Gateway and will not receive any response from the MQ. We can use dp:url-open push the message, where it will act as a side-call or I can use dp:xset-target to use Datapower backside-call functionality. Both are implemented and tested and they are working properly. Which one should I use and why? What are the pros and cons of each?
Updated on 2013-03-12T00:16:21Z at 2013-03-12T00:16:21Z by kenhygh
kenhygh 120000PD1B1616 Posts
Re: dp:url-open vs dp:xset-target2013-03-12T00:16:21ZThis is the accepted answer. This is the accepted answer.My general rule of thumb is to do things in the processing actions rather than in code. Either one works, but I think that it's easier for the next developer to understand what's going on if it's obvious in the processing rule rather than buried in code.