Posted: Wed Feb 08, 2017 3:46 am Post subject: Dynamic routing in DataPower
Centurion
Joined: 16 Oct 2011 Posts: 124 Location: London
Hi All,
I have configured a MPG in datapower where I will get messages from different queues(IBM MQ) and I would like to send it to different destination through HTTP protocol. I have created a policy which is as follows.
Match -> Transform -> Results
In Match, I have selected matching type as URL and selected URL match as *. In Transform, I have selected transform with xslt option where I set the routing configurations. But the policy itself is not selecting as I can see in the logs like below.
0x80e000b3 stylepolicy (Policyname): No match from processing policy 'Policyname' - default rule selected.
0x80c00079 stylepolicy (Policyname): No request rule is matched, the default rule is selected.
This is the first service I am doing in DataPower. May I know where I went wrong.
Its working now. It was a small mistake made by me when specifying the rule direction. Now I am stuck up with xslt.
I would like to route to a specific url based on the incoming header. So I tried setting a value in source queue name in IIB and checking it in DataPower; but the value seems to be not verifying in DataPower. I tried setting now in ReplyToQueue just to verify whether the value is actually receiving in DataPower. The value is actually been set in the message but the dyanmic backend is not selected. Any hope?
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