Re: How to get properties working in camelTest and spring

2015-11-22 Thread yuncil
I finally got my JUnit-Tests working and the properties are correctly injected now. I did it with a lot of annotations: @RunWith(CamelSpringJUnit4ClassRunner.class) @SpringApplicationConfiguration(classes = MyServiceTests.class) @ActiveProfiles("test") @EnableAutoConfiguration @ComponentScan @Mock

Re: Simple Authentication failing between UI and Nimbus

2015-11-22 Thread Claus Ibsen
Hi This is the Apache Camel user mailing list. I think you may have posted your question on the wrong place. On Sun, Nov 22, 2015 at 11:42 PM, Max Bridgewater wrote: > Hi, > > I am trying to get simple authentication to work with Storm 0.10.0. My > config is as follows: > > > ni

Simple Authentication failing between UI and Nimbus

2015-11-22 Thread Max Bridgewater
Hi, I am trying to get simple authentication to work with Storm 0.10.0. My config is as follows: nimbus.authorizer: "backtype.storm.security.auth.authorizer.SimpleACLAuthorizer" supervisor.run.worker.as.user: true ui.filter: "org.apache.hadoop.security.authentication.server.Aut

[ANNOUNCEMENT] Apache Camel 2.16.1 Released

2015-11-22 Thread Gregor Zurowski
The Camel community announces the immediate availability of the new patch release Camel 2.16.1. This release contains over 60 fixes applied in the past few weeks by the community on the Camel 2.16.x maintenance branch. This release also updates the Apache Commons Collections library to version 3.2.

Re: File name changed when Ziping the files in camel

2015-11-22 Thread Claus Ibsen
Apache Camel is not a zip file tool. What you are doing is not what Camel was designed for. You are better of with using perl / bash script or what else is out there that are much better for these kind of tasks. On Sun, Nov 22, 2015 at 2:09 PM, Ishada wrote: > I am trying to implement a scenar

Camel JMSConsumer creating lots of ActiveMQ Session Task

2015-11-22 Thread vsk
Hi, We are using Camel in a Spring Boot application. Need help to tuning the JMS Client. Am seeing lots of ActiveMQ Session Task & Inactivity Monitor Threads. How do i reduce these threads? Visual VM Output shows all the session task aren't doing anything.. Appreciate your help -- View this

Re: ftp multiple streams in body?

2015-11-22 Thread rwijngaa
ah, ofcourse the good 'ol' splitter. Thanks Claus! -- View this message in context: http://camel.465427.n5.nabble.com/ftp-multiple-streams-in-body-tp5774197p5774236.html Sent from the Camel - Users mailing list archive at Nabble.com.

File name changed when Ziping the files in camel

2015-11-22 Thread Ishada
I am trying to implement a scenario which is as follows. Get all the files from a location and zip the files and put the zip file to other location. It is working fine put when I am trying to open the zip file, camel has changed all the files name to default unique naming convention. I want the fil

Re: Get Socket Status of Netty4 Route

2015-11-22 Thread Claus Ibsen
Some of these are set as headers on the message, so you can try to see if you can find one of them that can get you the channel https://github.com/apache/camel/blob/master/components/camel-netty4/src/main/java/org/apache/camel/component/netty4/NettyConstants.java On Thu, Nov 19, 2015 at 8:38 AM, L

Re: ftp multiple streams in body?

2015-11-22 Thread Claus Ibsen
You may want to use the splitter eip so after step 2, you split the message body into N files and each file is uploaded. So if you have a List at step 2, then the splitter can split the list out of the box, and each InputStream is used for uploading to FTP. However if you want to control the file

Re: Camel ThreadPool maxQueueSize question

2015-11-22 Thread Claus Ibsen
On Sun, Nov 22, 2015 at 3:29 AM, David Hoffer wrote: > I'm not sure how to block the polling. > > Here is what seems like an ideal approach...the SFTP polling always runs on > schedule and downloads files with single thread to a folder. This won't > use much memory as its just copying one file at

Re: Unable to echo back the message to a client using websocket

2015-11-22 Thread Claus Ibsen
Hi Thanks a lot. There is 3 PR's for this. Which one should we use? I assume it would be pull 690 which has the highest number? If so can you close the other 2, so there is only 1 PR open. On Sat, Nov 21, 2015 at 11:10 PM, Ton Swieb wrote: > Hi Claus, > > The problem was caused by the two we