citrus framework - How do I ignore the content of a message? -


is there chance not validate contents , headers of message, i.e. check if message present & consume it? when "receive", automatically assumed want validate xml content. want consume message (from queue in use case) not relevant test. off queue. purge in next test run rather not.

if expected control message payload empty message validation should skipped.

xml dsl

<receive endpoint="jmsqueueendpoint">   <message></message> </receive> 

java dsl

receive(jmsqueueendpoint); 

however should mentioned receiving messages in test not relevant test bad thing


Comments

Popular posts from this blog

asynchronous - C# WinSCP .NET assembly: How to upload multiple files asynchronously -

aws api gateway - SerializationException in posting new Records via Dynamodb Proxy Service in API -

asp.net - Problems sending emails from forum -