Exchange has SOAPMessage want to Send to JMS Topic
I am new to the Camel world and what I am trying to do is as follows. 1. There is a route which is Servlet Component which is called by external System. 2. MyServlet CamelComponent Reads the incoming exchange and creates the SOAPMessage. 3. In Next Step I want to send the SOAP message to JMS Topic. JMS ROUTE At this point I Have a Exchange with SOAPMessage into it and as per the SOAP documentation I should be able to send SOAP message via JMS , but as per document JMS can take only few types ? I was expecting that CAMEL might have some internal Converter like MessageTransformer.SOAPMessageIntoJMSMessage(soapMessage, session); which help in converting the message . I tried Spring Converter but it doesnt not convert actually. OK java.lang.Exception Please suggest me any option , I can surely unmarshel and get the details form the SOAP message but i dont want to do that as that is not our requirement. we dont need to looking into the message thanks Sanjay G -- View this message in context: http://camel.465427.n5.nabble.com/Exchange-has-SOAPMessage-want-to-Send-to-JMS-Topic-tp5776268.html Sent from the Camel - Users mailing list archive at Nabble.com.
Re: Bindy running within a WAR, widlfly 8.2.0 and Camel
Hi I am also facing the same issue , I looked at the code and looks like that here is exactly the issue Class Name : *BindyCsvDataFormat*at org.apache.camel.dataformat.bindy.csv.BindyCsvDataFormat.unmarshal(BindyCsvDataFormat.BindyCsvFactory *factory* = (BindyCsvFactory)getFactory(exchange.getContext().getPackageScanClassResolver()); ObjectHelper.notNull(factory, not instantiated);// List of Pojos ListMaplt;String, Object models = new ArrayListMaplt;String, Object();// Pojos of the modelMapString, Object model; InputStreamReader in = new InputStreamReader(inputStream, IOHelper.getCharsetName(exchange));// Scanner is used to read big fileScanner scanner = new Scanner(in);// Retrieve the separator defined to split the record * String separator = factory.getSeparator();*String quote = factory .getQuote();Please let me know why the factory is not getting populated with the seperator even though I have defined it correctly . *ERROR *at org.apache.camel.util.ObjectHelper.notNull(ObjectHelper.java:293) [camel-core-2.15.0.jar:2.15.0] at org.apache.camel.dataformat.bindy.csv.BindyCsvDataFormat.unmarshal(BindyCsvDataFormat.java:137) [camel-bindy-2.15.0.jar:2.15.0] at org.apache.camel.processor.UnmarshalProcessor.process(UnmarshalProcessor.java:67) [camel-core-2.15.0.jar:2.15.0] at org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:77) [camel-core-2.15.0.jar:2.15.0] at org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:448) [camel-core-2.15.0.jar:2.15.0] at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:191) [camel-core-2.15.0.jar:2.15.0] at org.apache.camel.processor.Pipeline.process(Pipeline.java:118) [camel-core-2.15.0.jar:2.15.0] -- View this message in context: http://camel.465427.n5.nabble.com/Bindy-running-within-a-WAR-tp5765035p5765884.html Sent from the Camel - Users mailing list archive at Nabble.com.
Re: A little problem with annotation @CsvRecord
HI Guys were you able to solve this problem , this problem is still lurking in camel code and now I am facing on the wildfly fly 8.2.0Final and also it doesn't work on other JBoss versions. Please let me know if you guys have any solution ' Stacktrace ---: java.lang.IllegalArgumentException: The separator h not been defined in the annotation @CsvRecord or not instantiated during initModel. must be specified at org.apache.camel.util.ObjectHelper.notNull(ObjectHelper.java:293) [camel-core-2.15.0.jar:2.15.0] at org.apache.camel.dataformat.bindy.csv.BindyCsvDataFormat.unmarshal(BindyCsvDataFormat.java:137) [camel-bindy-2.15.0.jar:2.15.0] at org.apache.camel.processor.UnmarshalProcessor.process(UnmarshalProcessor.java:67) [camel-core-2.15.0.jar:2.15.0] at org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:77) [camel-core-2.15.0.jar:2.15.0] at org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:448) [camel-core-2.15.0.jar:2.15.0] at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:191) [camel-core-2.15.0.jar:2.15.0] at org.apache.camel.processor.Pipeline.process(Pipeline.java:118) [camel-core-2.15.0.jar:2.15.0] at org.apache.camel.processor.Pipeline.process(Pipeline.java:80) [camel-core-2.15.0.jar:2.15.0] at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:191) [camel-core-2.15.0.jar:2.15.0] at org.apache.camel.component.file.GenericFileConsumer.processExchange(GenericFileConsumer.java:433) [camel-core-2.15.0.jar:2.15.0] at org.apache.camel.component.file.GenericFileConsumer.processBatch(GenericFileConsumer.java:211) [camel-core-2.15.0.jar:2.15.0] at org.apache.camel.component.file.GenericFileConsumer.poll(GenericFileConsumer.java:175) [camel-core-2.15.0.jar:2.15.0] at org.apache.camel.impl.ScheduledPollConsumer.doRun(ScheduledPollConsumer.java:174) [camel-core-2.15.0.jar:2.15.0] at org.apache.camel.impl.ScheduledPollConsumer.run(ScheduledPollConsumer.java:101) [camel-core-2.15.0.jar:2.15.0] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) [rt.jar:1.7.0_71] -- View this message in context: http://camel.465427.n5.nabble.com/A-little-problem-with-annotation-CsvRecord-tp5728109p5765883.html Sent from the Camel - Users mailing list archive at Nabble.com.