Re: How to dynamically configure directory on file consumer

2013-05-01 Thread Claus Ibsen
Hi This seems like a good idea. I have logged a ticket to make this easier https://issues.apache.org/jira/browse/CAMEL-6329 On Tue, Apr 30, 2013 at 5:22 PM, Erker, Carsten carsten.er...@akquinet.de wrote: Hi, we got a route starting with a File consumer (from(file://input...) and a

Re: Translation of Camel manual

2013-05-01 Thread Claus Ibsen
Hi Is there really a need for translating the entire Camel website to japanese? The current doc on the website is best used as a reference docs for looking up details about an EIP, what options a component has, etc. Just keeping that doc up to date would be a real tough challenge, as the docs is

Re: NoSuchComponentException in CamelContext during Karaf Shutdown

2013-05-01 Thread Tobias Hofer
Hi Yeah would assume depends-on attributes ought to tell blueprint in which order to shutdown its beans etc. Or somehow you can try to get camelContext as being the first bean blueprint should try to shutdown, as then Camel will complete all its inflight messages first, and hence the beans

Re: How to create a generic SOAP consumer?

2013-05-01 Thread Smith-John
But I need to expose a Web Service first to receive the soap messages at all. -- View this message in context: http://camel.465427.n5.nabble.com/How-to-create-a-generic-SOAP-consumer-tp5731741p5731844.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: How to create a generic SOAP consumer?

2013-05-01 Thread Claus Ibsen
Hi For web services you can use http://camel.apache.org/cxf http://camel.apache.org/spring-web-services.html Or use a plain HTTP service such as jetty with the soap data format http://camel.apache.org/jetty And for WS/SOAP examples you can find some here http://camel.apache.org/examples For

enabling the route, if destination endpoint is not available

2013-05-01 Thread gafoor shaik
Hi, I am connecting to a webservice end point through a camel route. it is working fine when webservice server is running. i am getting connection exception and route is not started, when webservice server is not running. I want my route should be started, irrespective of destination endpoint

Upgrade Camel 2.10.1 - 2.11.0 - Camel keeps restarting

2013-05-01 Thread Martin Stiborský
Hi guys, I'm trying to upgrade Camel and Karaf in our project to newer version, as the Camel 2.11 is out. Camel 2.10.1 - 2.11 Karaf 2.2.10 - 2.3.1 There were needed few modifications. nothing serious, but Camel and Karaf behaves a little bit weird - CamelContent is created and immediatelly shut

Re: route between webservice and socket

2013-05-01 Thread takidean
Hi the problem is that i have to receive file from mina endpoint in other port like that from cxf to mina port= from mina port=8889 response is that possible? -- View this message in context: http://camel.465427.n5.nabble.com/route-between-webservice-and-socket-tp5731788p5731855.html

Re: route between webservice and socket

2013-05-01 Thread Claus Ibsen
Hi This is not currently supported. You may need to write some custom code for mina to do this. You can just call mina and get the response on that other port from a java bean. And use that as part of a Camel route. Then you can use that to send back the WS reply message. On Wed, May 1, 2013 at

RE: Processors in parallel mode

2013-05-01 Thread Sachin
Actually it worked with component scanning and even to add more if we keep all processors in normal way after multicast and parallel processing, that works too. from(direct:endpoint) multicast(). .parallelProcessing() .process(processor1)

Re: not getting combined response from aggregator

2013-05-01 Thread bhushand
Hi Any suggestions??? -- View this message in context: http://camel.465427.n5.nabble.com/not-getting-combined-response-from-aggregator-tp5731362p5731861.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: How to create a generic SOAP consumer?

2013-05-01 Thread Sachin
Have you tried using xs:anytype as your payload type? -- View this message in context: http://camel.465427.n5.nabble.com/How-to-create-a-generic-SOAP-consumer-tp5731741p5731860.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: not getting combined response from aggregator

2013-05-01 Thread Sachin
Can you try using adding all your response in a list in your aggregation strategy. It works for me like below: AggregationStrategy surnameAggregator = new AggregationStrategy() { @SuppressWarnings(unchecked) public Exchange aggregate(Exchange oldExchange, Exchange

delete all messages in jms queue

2013-05-01 Thread salemi
Hi, I need to delete all existing messages in a jms queue once of receive a specific message. Does camel provide an option to delete all jms messages in a queue? Thanks, Ali - Alireza Salemi -- View this message in context:

Re: How to dynamically configure directory on file consumer

2013-05-01 Thread Erker, Carsten
Claus, thanks a lot for opening the ticket, using JMX would be a good way for changing the behavior during runtime. @Tobias: In the meantime I'll try with your approach. Thanks for hinting to the properties component. Am 01.05.2013 um 08:01 schrieb Claus Ibsen: Hi This seems like a

using or operator in twitter keywords search

2013-05-01 Thread Preben.Asmussen
Just used the twitter component for a small demo, and stumbled on a missing feature. It would be nice if you where able to use or operator in the twitter keywords option. Maybe even be able to combine and/or in keywords. Should be possible in twitter4j, but i'm not sure. Best, Preben -- View

Re: delete all messages in jms queue

2013-05-01 Thread Christian Müller
No. You have to use the JMS API in a processor or bean. Sent from a mobile device Am 01.05.2013 18:28 schrieb salemi sal...@avaya.com: Hi, I need to delete all existing messages in a jms queue once of receive a specific message. Does camel provide an option to delete all jms messages in a

Re: enabling the route, if destination endpoint is not available

2013-05-01 Thread Christian Müller
Which version do you use? Which component? ... Sent from a mobile device Am 01.05.2013 12:21 schrieb gafoor shaik gafoo...@gmail.com: Hi, I am connecting to a webservice end point through a camel route. it is working fine when webservice server is running. i am getting connection exception

Re: NoSuchComponentException in CamelContext during Karaf Shutdown

2013-05-01 Thread Christian Müller
Camel 2.10.x is only tested with Karaf 2.2.x. Sent from a mobile device Am 01.05.2013 10:41 schrieb Tobias Hofer tobias.ho...@basis06.ch: Hi Yeah would assume depends-on attributes ought to tell blueprint in which order to shutdown its beans etc. Or somehow you can try to get

Re: Translation of Camel manual

2013-05-01 Thread koseki nobuyuki
Hi Claus, Thank you for your useful advice and interesting url. Main purpose to translate, is to create a material that is easy to read for Japanese, and let the users understand how to get started with Camel. So, some url you suggested are good for translation. (of course, if it is 3rd party,

Re: How, exactly, to get the vm component to work

2013-05-01 Thread laowai
Hi, I'm struggling with this exactly same issue, how to get the VM component to work. I'm at the same point as OP, trying to figure out how to share camel-core between the WAR files. Also, I'm not expert in class loading but can see from the logs that the problems are related to dependecies. I'm

Re: Turn off the stack trace for EndpointMessageListener

2013-05-01 Thread salemi
Thank you for your respond Claus. I changed my jms config to add the properties you mentioned to the configuration (see below) bean id=jmsConfig class=org.apache.camel.component.jms.JmsConfiguration property name=connectionFactory ref=pooledConnectionFactoryInfiniteRedelivery/

Start and stop a route using sping xml

2013-05-01 Thread salemi
Hi, I know you can stop and start route using CamelContext. Is there a way to do it in XML? I saw camel:stop in the documentation but there not much desription? Is there something like camel:start routeId=test ? Thanks, Ali - Alireza Salemi -- View this message in context:

Re: How to deploy an executable jar for a standalone camel application?

2013-05-01 Thread Magnus Palmér
I do use Groovy and Gradle with Camel. I haven't used the uber-jar with Gradle though, I am using the fatjar plugin instead - https://github.com/musketyr/gradle-fatjar-plugin You didn't provide any information about which versions you are using, for instance in Camel the .process { closure }

Re: Turn off the stack trace for EndpointMessageListener

2013-05-01 Thread Claus Ibsen
That stacktrace is from the default error handler. You can turn it off on that too. http://camel.apache.org/defaulterrorhandler.html The options is mostly documented on DLC which the default error handler also has http://camel.apache.org/dead-letter-channel.html There should be options to

Re: delete all messages in jms queue

2013-05-01 Thread Claus Ibsen
Hi No the JMS API has not such an api to delete a message. http://stackoverflow.com/questions/9529214/how-to-delete-a-message-from-the-jms-queue You can delete the queue though. But maybe that is not what you want. But some message brokers has API that allows to delete a message / messages.

Re: NoSuchComponentException in CamelContext during Karaf Shutdown

2013-05-01 Thread Claus Ibsen
Ah yeah you should use Karaf 2.2.x with Camel 2.10.x. And Karaf 2.3.x with Camel 2.11.x. As documented here: http://camel.apache.org/karaf On Wed, May 1, 2013 at 11:08 PM, Christian Müller christian.muel...@gmail.com wrote: Camel 2.10.x is only tested with Karaf 2.2.x. Sent from a mobile

Re: Start and stop a route using sping xml

2013-05-01 Thread Claus Ibsen
Hi Camel 2.11 has a control bus component that allows you to send a stop message to a Camel endpoint. See details at: http://camel.apache.org/controlbus.html And camel:stop/ is for stopping continue routing, eg if you have from X to Y choice when A to A otherwise stop

Re: using or operator in twitter keywords search

2013-05-01 Thread Claus Ibsen
Hi Yeah I assume configuring from endpoint uri, we would need some syntax to define if its OR AND etc. eg we could have AND OR as prefix to tell if the keyword is AND or OR based. keywords=AND Apache,AND Camel,OR Donkey Or have multiple options (where keywords is AND based)