Re: spring.activemq.broker-url not set correct on Activemq + Spring Boot

2017-05-21 Thread Preben.Asmussen
Forgot to mention that the commit relates to https://issues.apache.org/jira/browse/CAMEL-10226 I wonder if it should be reopened. My guess is that if you use SB starter for activemq you would want SB to autoconfigure the cf, and use SB property overrides. Currently the starter for activemq seems

How to convert MessageContentList to @RequestWrapper object

2017-05-21 Thread imranrazakhan
HI, I am currently receiving parameters as MessageContentList in Camel-CXF but i want to get them as object of @RequestWrapper defined in SEI. How we can achieve this? i tried convertBodyTo but its not working. Regards, -- View this message in context: http://camel.465427.n5.nabble.com/How

Re: 61M csv file cause Heap error on JVM with 1 GB limit

2017-05-21 Thread souciance
At first I thought you were reading the whole file at once but it seems you are splitting it and use streaming. I am not sure if it is something to do with the ftp operation. Why not have a route that first moves/copies the file from the ftp server to a local folder. Then let another route get trig

61M csv file cause Heap error on JVM with 1 GB limit

2017-05-21 Thread brent-e2
I'm new to Camel, but have followed advice on various fora to produce the below route: Picks up a csv file, splits into lines and unmarshals each line into a Map to be inserted into a database, as named parameters. The route works (database gets updated), when I use a subset of data (up to 30,00

Re: spring.activemq.broker-url not set correct on Activemq + Spring Boot

2017-05-21 Thread Preben.Asmussen
I suspect this commit to cause the difference https://github.com/apache/activemq/commit/4437393aa1a981a182142c255f76ae7cc50af183#diff-474de9fc51b7273d42a39c6327492388 the method got renamed from getAllowAutoWiredConnectionFactory to isAllowAutoWiredConnectionFactory so when the ActivemqComponent

Re: zip split end in XML

2017-05-21 Thread Matteo Cusmai
Hi Claus, so, I can write my XML as follow? ... ${body} ${header.result} == 'true'

Re: NPE in org.apache.camel.test.junit4.CamelTestSupport.logCoverageSummary

2017-05-21 Thread Claus Ibsen
Hi I reproduced the issue and logged a ticket and have a fix in the works https://issues.apache.org/jira/browse/CAMEL-11305 On Sun, May 21, 2017 at 6:06 PM, Claus Ibsen wrote: > Hi > > No it ought to work with that little route as well. > > What version of Camel do you use? > > On Sun, May 21, 2

Re: NPE in org.apache.camel.test.junit4.CamelTestSupport.logCoverageSummary

2017-05-21 Thread Claus Ibsen
Hi No it ought to work with that little route as well. What version of Camel do you use? On Sun, May 21, 2017 at 4:14 PM, Peter Hicks (Poggs) wrote: > Hello > > I’m unsure whether this is down to my inexperience with Camel or an actual > bug, but I wanted to bring it up here regardless. > > I

NPE in org.apache.camel.test.junit4.CamelTestSupport.logCoverageSummary

2017-05-21 Thread Peter Hicks (Poggs)
Hello I’m unsure whether this is down to my inexperience with Camel or an actual bug, but I wanted to bring it up here regardless. I have a Camel component which processes an Exchange and sends multiple messages in response. It’s part of a larger piece of code which translates ‘commands’ from

Re: spring.activemq.broker-url not set correct on Activemq + Spring Boot

2017-05-21 Thread Claus Ibsen
On Sun, May 21, 2017 at 1:45 PM, Preben.Asmussen wrote: > works on 5.14.0 but not on 5.14.1 ... You can try to diff the commits between those versions to see if you can point to some JIRA / commits that changed this behavior > > > > -- > View this message in context: > http://camel.465427.n5.na

Re: spring.activemq.broker-url not set correct on Activemq + Spring Boot

2017-05-21 Thread Preben.Asmussen
works on 5.14.0 but not on 5.14.1 ... -- View this message in context: http://camel.465427.n5.nabble.com/spring-activemq-broker-url-not-set-correct-on-Activemq-Spring-Boot-tp5799927p5799966.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: spring.activemq.broker-url not set correct on Activemq + Spring Boot

2017-05-21 Thread Claus Ibsen
Try with the in between versions 5.14.1 .. 5.14.3 and see which one started not working for you On Sun, May 21, 2017 at 1:18 PM, Preben.Asmussen wrote: > Did a bit of debugging with a bizar result. > > The SB auto created connection factory get's set on the JmsConfiguration in > https://github.co

Re: spring.activemq.broker-url not set correct on Activemq + Spring Boot

2017-05-21 Thread Preben.Asmussen
Did a bit of debugging with a bizar result. The SB auto created connection factory get's set on the JmsConfiguration in https://github.com/apache/camel/blob/master/components/camel-jms/src/main/java/org/apache/camel/component/jms/JmsComponent.java#L160 The isAllowAutoWiredConnectionFactory metho

Re: ActiveMQ initial number of consumers

2017-05-21 Thread Claus Ibsen
They are two different things, the replyTo is when you do request/reply over a queue via then the consumer side on the is using that option to define how many consumers it should use. The other option is for On Thu, May 18, 2017 at 8:23 PM, Paul Simon wrote: > Hi - using: > Camel version 2.18

Re: zip split end in XML

2017-05-21 Thread Claus Ibsen
The end() is just the corresponding XML end tag, eg or etc On Sun, May 21, 2017 at 10:32 AM, Matteo Cusmai wrote: > Hi all, > I would like to write the following DSL route in XML fashion, but I don't > find how to specify the end() tag. > > public void configure() throws Exception { > ZipFileDa

zip split end in XML

2017-05-21 Thread Matteo Cusmai
Hi all, I would like to write the following DSL route in XML fashion, but I don't find how to specify the end() tag. public void configure() throws Exception { ZipFileDataFormat zipFile = new ZipFileDataFormat(); zipFile.setUsingIterator(true); from("file://" + dir + "?delete=true&moveFailed=" + e