Skip to Content
0
Former Member
Jul 20, 2009 at 04:13 PM

Create and Handle empty msg in JMS receiver Adapter

79 Views

Hi,

In my interface scenario, I will have to create a msg output if certain conditions are met and should not create a msg if otherwise..

I am using a Graphical Mapping and the receiver is JMS. I have some questions..

1. Using Graphical mapping, Can I create an empty msg - If I dont map the root node if the conditions are not met, what happens to the msg during runtime ?? Will it create empty payload and does it error out as there is empty payload ??

2. Like File adapter - is there a way to Ignore empty msg in JMS receiver adapter - so that it doesnt write any empty msgs i nthe queue..

Any ideas/suggestions/experiences greatly appreciated please...

Thank you

Thanujja..