Posted: Mon Feb 12, 2018 2:38 am Post subject: Accessing payload for MQ input from failure terminal
Newbie
Joined: 12 Feb 2018 Posts: 1
Hi Guys,
I am new in IIB v10 and learning failure handling.
I have came across a situation where I need to persist the payload for all failure scenarios.
My flow is as below.
MQ input --> Failure terminal--> Compute (inserts data in table)
Properties set for MQ input node.
Queue Name : MQ_IN
Input Message Parsing : JSON : For Javascript Object Notification Messages
Parser Options : Parse timing : Immediate
Validation : Validate : Content and Value.
Rest all the properties are default.
The usecase is when an invalid input (Non-JSON content) is sent to flow, MQ input node sends the data to failure terminal. But When inputroot tree is expanded I am unable to see the payload which was sent to input node.
I need to access the payload. Need help how to access the same.
Currently JSON Child is empty.
eg. I send <Data>abc </Data> to above flow, it will navigate using failure terminal and the tree formed inside is
The first thing you need to do on your failure branch is to reset the content descriptor and set it to BLOB. This will then give you the original bit stream.
Up to you what you then want to do with it. _________________ MQ & Broker admin
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