I am trying to drop a message into the MQ.
Interestingly, "dp:url-open" method works just fine but "var://service/routing-url" method did not work but there is no error.
Any idea ? Thanks for any help.
<!-- this works -->
<dp:url-open target="dpmq://MQMW_NGDC/?RequestQueue=myQueue;AsyncPut=true" response="ignore">
<!-- this does not work -->
<xsl:variable name="backsideQueue" select="'dpmq://MQMW_NGDC/?RequestQueue=myQueue;AsyncPut=true'"/>
<dp:set-variable name="'var://service/routing-url'" value="$backsideQueue" />
Pinned topic MQ communication - "var://service/routing-url" vs "url open"
Answered question This question has been answered.
Unanswered question This question has not been answered yet.
Updated on 2013-01-02T13:35:57Z at 2013-01-02T13:35:57Z by kenhygh
kenhygh 120000PD1B2357 Posts
Re: MQ communication - "var://service/routing-url" vs "url open"2013-01-02T13:35:57ZThis is the accepted answer. This is the accepted answer.Well, what else is going on in your processing? Setting that service variable means that when your request rule is finished, the results action will pass data to that URL. If you're overriding that somewhere later in your processing, then nothing will be put to that queue.
Setting that variable should result in a debug message in the log, so you should be able to see that it's being set properly.