2010/6/10 mevikasg <[email protected]>: > > Hi Roman, > > Thanks for the reply. > > I have already tried it but no luck. > > Infact, tried following too: > > errorHandler(deadLetterChannel("mock:error")) > from("imaps://[email protected]&password=xxxx" > > +"&deleteProcessedMessages=false&processOnlyUnseenMessages=true&consumer.delay=600") > .process(new MyProProcessorImpl()) > .to("sql:insert into message values > (3,'#',true,1)?dataSourceRef=myDataSource") > .to("activemq:queue:VIKAS") > .to("stream:out")
Could you give us the stacktrace you had this time? In this case I believe everything should work just fine as there are no parameters we have to put into the statement (as # is quoted anyway). Roman
