Re: HA of Camel

2014-04-22 Thread kraythe .
This isn't so much of a camel question but an ActiveMQ and platform question. Camel doesn't implement things like clustering and failover. That is outside the scope of the camel framework. Something like asking a Coffee table what it does to facilitate keeping water out of the basement. Typically

Re: Aggregate Error

2014-04-22 Thread kraythe .
Thats a little piecemeal friend. Hard to tell what is going on from what you posted. Can you try again with the actual XML route code? *Robert Simmons Jr. MSc. - Lead Java Architect @ EA* *Author of: Hardcore Java (2003) and Maintainable Java (2012)* *LinkedIn: **http://www.linkedin.com/pub/robert

Custom Properties Placeholder Implementations?

2014-04-22 Thread kraythe .
Greetings, I am currently using java DSL and have been investigating Fuse and Fabric8 as possible alternatives. Currently I have a route that does something like the following: final String cron = this.config.automationCasesDBMonitorCron().replaceAll(" ", "+"); final String quartzURI = "q

Re: Reading a File Using camel is not working with relative path

2014-04-22 Thread Claus Ibsen
On Wed, Apr 23, 2014 at 5:41 AM, sbalabadra wrote: > Hi Claus, > > Thanks for your response. > > yes. metamodel/grids is the directory(package name) in the classpath. > > With this relative path i am facing issue. But If i specify the absolute > path then it is working. > > What do u mean by syste

Re: Reading a File Using camel is not working with relative path

2014-04-22 Thread sbalabadra
Hi Claus, Thanks for your response. yes. metamodel/grids is the directory(package name) in the classpath. With this relative path i am facing issue. But If i specify the absolute path then it is working. What do u mean by system file path? Is it absolute path?? Could you please help me on this

Re: ApplicationContextRegistry and JndiRegistry

2014-04-22 Thread Willem Jiang
Current camel doesn’t share the Spring ApplicationContextRegistry with the JndiRegistry. But I think you can workaround it by using camel context component[1] which can hold a camel context as a new component. [1]http://camel.apache.org/context.html -- Willem Jiang Red Hat, Inc. Web: http://

Re: How to clean '.camel' directories?

2014-04-22 Thread Willem Jiang
If you don’t want keep the processed file, you can set the delete option to be true. Or you can exclude the .camel file by using a Filtering[1]  [1]http://camel.apache.org/file2.html#File2-FilteringusingANTpathmatcher -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://wille

Re: [Camel-Cxf] Camel Exchange not returned when SocketTimeoutException happens

2014-04-22 Thread Willem Jiang
You can register the executeOperationsBatchExecutorService after camel context is started. Or you can register a custom ManagementLifecycleStrategy to manage the lifecycle of your ExecutorService.  -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com

Re: Apache Camel vs Openadaptor

2014-04-22 Thread Christian Müller
https://www.ohloh.net/p/camel vs. https://www.ohloh.net/p/4367 In a Nutshell, Apache Camel... has had 19,744 commits made by 82 contributors representing 953,023 lines of code ... is mostly written in Java with an average number of source code comments ... has a well es

How to clean '.camel' directories?

2014-04-22 Thread alexey-s
The process works on a schedule. Recursively searches the directory. Found files are processed and fall into a subdirectory named '.camel'. path_a path_b path_b_a .camel path_b_b .camel path_c path_c_a .camel path_c_b .camel Camel route: from(

RE: Apache Camel vs Openadaptor

2014-04-22 Thread Francois LIOT
Hi, I used to work with Openadaptors, And I unfortunately confirm it is a dead project. Additionally, between OSGI revolution and hyper-activity around Apache camel project, Starting new project on Openadaptor today looks to me as a real non-sense those days. Vivia camel Cheers, Françoi

AW: Apache Camel vs Openadaptor

2014-04-22 Thread jhm
> For me it looks like openadaptor is a dead project. Haven't done any > releases since november 2011 https://www.openadaptor.org/ Seems so: https://www.openadaptor.org/downloads.html "Current" production release: 3.4.7 from Nov 2011 (3yrs old) https://openadaptor3.openadaptor.org/ds/viewForums.

cxf how to add wsa addressing with cxf://someAddress[?options] uri format?

2014-04-22 Thread cgiera
Hi, I've to configure the wsa addressing feature on some of our webservice consumers. The routes look like the following: from(cxf://someAddress?serviceClass=someClass) .to(...) Maybe I missed something but I've only found the wsa addressing configuration via spring: example: ...

Re: Apache Camel vs Openadaptor

2014-04-22 Thread Claus Ibsen
Hi For me it looks like openadaptor is a dead project. Haven't done any releases since november 2011 https://www.openadaptor.org/ On Tue, Apr 22, 2014 at 4:05 PM, anujkhandelwal wrote: > Hi, > > I am trying to use an enterprise integration framework. Confused between two > producets > 1) Camel

Re: [Camel-Cxf] Camel Exchange not returned when SocketTimeoutException happens

2014-04-22 Thread Aida
Hi Willem, Thank you very much for your response. I'm trying to upgrade my version of Camel to 2.13.0 in order to check if I have the same problem in the last release, as you told me, but I found an obstacle. >From Apache Camel 2.12.0, the ManagementStrategyFactory (that initializes the DefaultM

Re-queue message after max retries

2014-04-22 Thread ashsykes15
I'm using camel-rabbitmq to read from a queue and send out messages through a Mina connection. I'm testing that if the client is unavailable messages are re-queued to be sent again. I've set autoACK to False and I've configured a errorHandler for my route like so: errorHandler(defaultErrorHandle

Apache Camel vs Openadaptor

2014-04-22 Thread anujkhandelwal
Hi, I am trying to use an enterprise integration framework. Confused between two producets 1) Camel 2)Openadaptor. I have already gone through http://camel.465427.n5.nabble.com/camel-vs-openAdapter-vs-xbus-td4522979.html and I understand that both uses different patterns. But if someone can tel

Re: Failure to register a component, programmatically

2014-04-22 Thread Willem Jiang
As you may know, in OSGi world we cannot assure we can get the service we want at the start time as the service bundle could not be started at that time. Camel OSGi implementation always waits for loading the component, so you need change the code to install the component first instead of try to

ApplicationContextRegistry and JndiRegistry

2014-04-22 Thread Jacinto, Alex (GE Energy Management)
Is there a way I can make the two work? What happens is that when I do ApplicationContextRegistry but wants to access through jndi it won’t work, if I do the JndiRegistry, it would not resolve all my routeContextRef. My camel-context looks like: http://camel.apache.org/schema/spring";

Failure to register a component, programmatically

2014-04-22 Thread Matthieu Vincent
Hi I'm trying to add a component in my camel context using method addComponent on CamelContext. Everything seems to work correctly, but when my servicemix starts, the bundle stays in state GracePeriod and in log file I can read : 2014-04-22 14:24:45,913 | INFO | rint Extender: 2 | BlueprintCont

Aw: Re: JDBC Producer with auto generated keys and named parameters

2014-04-22 Thread Pascal Klink
Hi Grzegorz, Here is the ticket with the attached patch: https://issues.apache.org/jira/browse/CAMEL-7382. I created this patch from the current 2.14 master but I think is should be possible to apply the patch on 2.13 aswell. But if you can provide me the URL to the 2.13 master I can also crea

Aggregate Error

2014-04-22 Thread Jaishankar
This is the source code: person/firstName/text() ${in.header.breadcrumbId} corrId

Apache Camel Tracer | Would log level make a difference in the amount of information that is logged

2014-04-22 Thread manchandap
Respected Camel experts, i am exploring the usage of Tracer for logging purpose. It can be managed via JMX Console, so logging can be enabled even when developers haven't used logs in their routes. My concern is that Tracer seems to output the same amount of information irrespective of the log l

Re: SJMS Component queue access with name/password

2014-04-22 Thread Claus Ibsen
Hi I think you would set the username / password on the connection factory, which you then configure camel-sjms to use. On Fri, Apr 18, 2014 at 11:06 PM, malcolm.davis wrote: > Name/password is required to access queues in some JMS environments. > > The Spring based JMS component supports name

Re: AW: Camel for XML data

2014-04-22 Thread Grzegorz Grzybek
Hello Please read the official documentation wrt this subject here: http://camel.apache.org/exception-clause.html regards Grzegorz Grzybek 2014-04-22 9:13 GMT+02:00 anujkhandelwal : > Thanks, > > I am new with camel. One more Question : > > What is the way to handle exceptions and errors while

Re: AW: Camel for XML data

2014-04-22 Thread anujkhandelwal
Thanks, I am new with camel. One more Question : What is the way to handle exceptions and errors while processing the message through camel ? Thanks, Anuj -- View this message in context: http://camel.465427.n5.nabble.com/Camel-for-XML-data-tp5750397p5750421.html Sent from the Camel - U

RE: URI encoding is giving me problems

2014-04-22 Thread Ravindra.Godbole
Claus Even after adding RAW the output of key still comes as RAW(+) and not only + as expected. addParameter method of URISupport class should strip out the RAW() and just retain + against passwd. Here is what I tried. EndpointConfiguration conf = comp.createConfigura