• 1 reply
  • Latest Post - ‏2013-03-12T00:16:21Z by kenhygh
94 Posts

Pinned topic dp:url-open vs dp:xset-target

‏2013-03-11T22:11:58Z |
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
    2359 Posts

    Re: dp:url-open vs dp:xset-target

    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.