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

php - trouble displaying mysqli database results in correct order -

depending on nth recurrence of job in control M -

sql server - Cannot query correctly (MSSQL - PHP - JSON) -