Re: Trouble with asserts on a mockendpoint receiving caught exceptions

2013-01-28 Thread Christian Müller
;-) Good to know you figured out by yourself. Sent from a mobile device Am 28.01.2013 11:09 schrieb "Mark Doyle" : > Ok, figured it out. It helps if you don't write: > > errorBin.assertIsNotSatisfied(); > > rather than: > > errorBin.assertIsSatisfied(); > > I blame code complete :D > > > > On 27

Re: Trouble with asserts on a mockendpoint receiving caught exceptions

2013-01-28 Thread Mark Doyle
Ok, figured it out. It helps if you don't write: errorBin.assertIsNotSatisfied(); rather than: errorBin.assertIsSatisfied(); I blame code complete :D On 27 January 2013 22:41, Mark Doyle wrote: > Just noticed the test code only shows up on the nabble web interface. > > This is the createRo

Re: Trouble with asserts on a mockendpoint receiving caught exceptions

2013-01-27 Thread Mark Doyle
Just noticed the test code only shows up on the nabble web interface. This is the createRouteBuilder configure contents: from("mina2:tcp://localhost:12345?sync=false&codec=#kissFrameSyncCodecFactory"). setExchangePattern(ExchangePattern.InOnly). bean(hdlcFrameDecoder). doTry(). bean(packetDec

Re: Trouble with asserts on a mockendpoint receiving caught exceptions

2013-01-27 Thread Christian Müller
Can you share your test with us? Even better if you can share a working unit test so that we can run the test and see what's going wrong. And for every question, it's good to know which version of Camel do you use. Best, Christian On Sun, Jan 27, 2013 at 2:10 PM, MarkD wrote: > Hi all, > > I ha