I am trying to setup load and soak test for my routes but I am running into issues. Can someone point out what exactly am I doing wrong?
I am using Camel 2.1-SNAPSHOT and subetha/wiser as smtp for this test, and since it does not support imap, to consume the messagse. I thought I would write custom component (wiser://) to read back messages from smtp and there by get first hand experience in writing custom component :) I hope I am taking right approach here, if there is better way to do this, please let me know. Here is the app route: <camel:camelContext id="main"> <camel:template id="camelTemplate"/> <camel:route errorHandlerRef="serviceErrorHandler"> <camel:from uri="activemq:queue:myqueue"/> <camel:to uri="processor1" /> <camel:to uri="processor2" /> <camel:to uri="smtp://localhost:2501"/> </camel:route> </camel:camelContext> Than I add below 2 camel routes in my load test context: <!-- Pump some data --> <camel:route> <camel:from uri="dataset:messageDataSet"/> <camel:to uri="activemq:queue:myqueue" /> </camel:route> <camel:route> <camel:from uri="wiser://dummy" /> <camel:to uri="dataset:messageDataSet"/> </camel:route> Please see attached classes related to wiser component, it has to be polling endpoint, which polls for messages on wiser and routes those. All the messages are consumed by WiserConsumer but it does not make it back to dataset:// but instead go to ErrorHandler. I do not see any errors in the log and debugging does not help either it just seems like ErrorHandler intercepts it. I tried to swap out app route with just simple queue to make sure my dataSet is configured correctly and it worked. So I guess I have made mistake in WiserComponent somewhere which I could not locate. Thanks! http://old.nabble.com/file/p26293082/WiserComponent.java WiserComponent.java http://old.nabble.com/file/p26293082/WiserConsumer.java WiserConsumer.java http://old.nabble.com/file/p26293082/WiserComponentMessage.java WiserComponentMessage.java http://old.nabble.com/file/p26293082/WiserEndpoint.java WiserEndpoint.java -- View this message in context: http://old.nabble.com/Issue-with-Load-and-Soak-test-tp26293082p26293082.html Sent from the Camel - Users mailing list archive at Nabble.com.