Re: Testing headers in multiple messages

2012-01-20 Thread Claus Ibsen
Hi btw you can always just check for the 3 headers manually afterwards. You can get the receive exchanges from the mock endpoint. And then loop that, and check that you got the 3 of them. On Thu, Jan 19, 2012 at 11:05 AM, Claus Ibsen wrote: > Hi > > So you mock endpoint receives 3 messages in

Re: Testing headers in multiple messages

2012-01-19 Thread developpef
FYI, I opened CAMEL-4919 - http://developpef.blogspot.com -- View this message in context: http://camel.465427.n5.nabble.com/Testing-headers-in-multiple-messages-tp5157167p5157294.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Testing headers in multiple messages

2012-01-19 Thread developpef
Thank you for this hint. I will open a JIRA for this. Yes I think that this point might be comparable to expectedBodiesReceivedInAnyOrder. I will try your solution, but I would prefer not to modify the "prodution ready" route, even if it's not an important change. - http://developpef.blogspot

Re: Testing headers in multiple messages

2012-01-19 Thread Claus Ibsen
Hi So you mock endpoint receives 3 messages in any order. And you just want to test that those 3 messages has all together those 3 different headers? We got that on the body, where you can say expectedBodiesReceivedInAnyOrder We may consider a similar for the headers. You can configure the fil