atmosphere-websocket - How to dynamically set to uri?

2017-03-07 Thread cheng
Hi everyone, I am trying to build a web socket proxy. What i want to achieve is the following: from: camel/{somepath} to: service1Host:80/[userid]/{somepath} I want to forward camel/somepath to an dynamic path in my service1Host server. The configuration i had was below. MyRouteBuilder: ...

Re: Camel SFTP

2017-03-07 Thread David Hoffer
The password does contain @ and # characters. However we are able to connect with those no problem in our test enviornment, no need for the RAW() function. Also it turns out the username contains a '.' character but here too no problem in our test/dev environment. But in production where we

Camel with Karaf + Blueprint

2017-03-07 Thread kumar
Hi , I am trying to use Camel(2.18.2) + karaf(4.0.8)+blueprint(Aries) for my migration as suggested by experts. Now I am able to load all my bundles but unable to start Camel context due to following errors: 1. I have 4 xml files. first one is root file 2. seconnd, third , four are routes and

Re: Camel with Karaf + Blueprint

2017-03-07 Thread Andreas Gies
Hi, from your description it sounds that haven't exported the instances you would like to access as services. It is not sufficient to export the packages. The instances that shall be available in other bundle must be exported as services and then they can be referenced as service in your

Re: Camel for ElasticSearch

2017-03-07 Thread Andrea Cosentino
If you want to test the new component you can build Camel 2.19.0 from code or use the SNAPSHOT -- Andrea Cosentino -- Apache Camel PMC Member Apache Karaf Committer Apache Servicemix Committer Email: ancosen1...@yahoo.com Twitter: @oscerd2 Github: oscerd On

Re: Camel for ElasticSearch

2017-03-07 Thread ajnfde
Ok thank you. -- View this message in context: http://camel.465427.n5.nabble.com/Camel-for-ElasticSearch-tp5794992p5795004.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Camel for ElasticSearch

2017-03-07 Thread Andrea Cosentino
In Camel 2.19.0 there will be a component for Elasticsearch 5.x support. Actually it is not supported. -- Andrea Cosentino -- Apache Camel PMC Member Apache Karaf Committer Apache Servicemix Committer Email: ancosen1...@yahoo.com Twitter: @oscerd2 Github: oscerd

Camel for ElasticSearch

2017-03-07 Thread ajnfde
I want to send data to elasticSearch from camel using camel component camel-elasticsearch-2.17.5 (and also 2.15.2). The ElasticSearch version used is 5.2.2 But the ElasticsearchEndpoint.class refers to org.elasticsearch.node.NodeBuilder and The ElasticsearchConstants interface refers also to

how to config two routes use the same endpoint?

2017-03-07 Thread vonezzz
i have endpoint A,B and C. need from A to B, from A to C. i know use Filters or Filters can implement this. but i hope to configure two difference routes, not one route. because i need to implement from A to D , from A to E in the future, i want to implement this dynamic. -- View this

Re: how to config two routes use the same endpoint?

2017-03-07 Thread souciance
I am not sure I follow but Camel has a toD() endpoint. You can dynamically route to an endpoint using some value from a header or property. If you can dynamically calculate where to route you can use toD() to accomplish this for you. So you can write code to say A-->X where X is B, C , D ,E etc.

Re: Split file based on content

2017-03-07 Thread chanti
Hi Thanks for your quick reply. Here unmarshal is not working while I'm using when , if possible let me know how write bindy foe a file which is having different dataformats(headers) ,like "0001" some dataformat and "0002" specifies some other data format. from("file:{{filepath}}?noop=true")

Split file based on content

2017-03-07 Thread chanti
Hi I'm new to camel , I have a issue in splitting a file based on content .The below code only splitting one list of lines (ex: 0001 in the file file) , I want to split the file based on the content(like 0001,0002,003) and aggregate it as a one Map object. can anybody help me this. My code is

Re: Split file based on content

2017-03-07 Thread souciance
Just a quick and perhaps "dirty"solution, couldn't you rewrite it as below ? Your bean contains a method that simply saves the row as a key value in a map. But do you want a complete map of all the rows or different maps for the different rows? from("file:{{filepath}}?noop=true")