Hi
I'm afraid you have to restart the camel context to load the change.
On Fri May 4 09:28:03 2012, yoleng wrote:
Hi,
One question for caml-jetty/camel-http:
If camel-jetty/camel-http can dynamically load keystore/trustsore changes?
I mean that when this component started, then the keystore
Hi All,
I am using Camel 2.9.2 and activeMQ 5.5. I face the problem file not found
when move the original file to success folder when successfully
processed.This is my scenario:
read file from folder /input -> do transformation -> put the output to queue
-> move the original file to /success folde
On Fri, May 4, 2012 at 10:02 AM, agustino wrote:
> Hi All,
>
> I am using Camel 2.9.2 and activeMQ 5.5. I face the problem file not found
> when move the original file to success folder when successfully
> processed.This is my scenario:
> read file from folder /input -> do transformation -> put th
Hi
The build instructions are here
http://camel.apache.org/building.html
For example run
mvn clean install -Dtest=false
And the PendingExchangesTwoRouteShutdownGracefulTest may pass on 2nd try etc.
On Thu, May 3, 2012 at 9:44 PM, rodolfo wrote:
> Hello
>
> I've downloaded Camel 2.9.2 source
Hi,
Thanks, @willem
If I restart the context, then that means the business should be broken for
the restart time. if there exist some way not to break the business?
Regards.
Leng Yong.
--
View this message in context:
http://camel.465427.n5.nabble.com/If-camel-jetty-camel-http-can-dynamically
Hi
Do you have mixed versions of Camel on the classpath?
Make sure camel-jaxb and camel-core uses the same version.
On Thu, May 3, 2012 at 8:17 PM, soumya_sd wrote:
> @Claus -
>
> I added the e.printStackTrace() to BeanProcessor and got the following
> exception in the logs. Also, I got a bunc
You can add routes at runtime to a running Camel.
If you using Java then you can have a RouteBuilder class as a
template, and then maybe some getter/setter for the uris.
And then reference those uris in the configure() method where you use
the Java DSL.
On Thu, May 3, 2012 at 9:53 AM, agustino
Hi Claus,
Thanks for the reply.
If I use move=successDir, it means that no matter it's success or fail, it
will move the file to successDir.
My expected result is, if the file is successfully processed to queue, then
move to successDir else failDir.
I tried to add
onException(Exception.class).ha
On Fri, May 4, 2012 at 11:06 AM, agustino wrote:
> Hi Claus,
>
> Thanks for the reply.
>
> If I use move=successDir, it means that no matter it's success or fail, it
> will move the file to successDir.
> My expected result is, if the file is successfully processed to queue, then
> move to successD
Hi Claus,
Thanks for the reply. It really helpful.
--
View this message in context:
http://camel.465427.n5.nabble.com/Dynamic-source-endpoint-tp5682267p5685285.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Hi,
use can use pollEnrich to consume a file within a route.
from(sql...)
pollEnrich("file://")
.to("activemq:myqueue");
look here: http://camel.apache.org/content-enricher.html
Another way could be to call a bean which reads the file and return the
content of the file
from(sql
Hi
I'm using camel-jaxb to generate XML, and it works fine except that I get
this unwanted namespace prefix "ns2":
http://www.xxx.com/payments/0.0.1";>
4001
12345
2012-03-20T15:00:05
291
NOK
123456789012
65432
123
91
Hi
I am not sure exactly what you want. But multicast can send copies of
the same message to multiple endpoints.
Also you can use wire tap to copy and "spawn" the message.
Take a look at these EIPs as well.
On Thu, May 3, 2012 at 12:36 AM, Eugeniu wrote:
> Hi
>
> Is it possible to use a load
You can enrich the message if its been processed or not. And then you
can check that header/headers if it was processed or not.
The filter EIP sets a property on the exchange if it was filtered or not.
http://camel.apache.org/message-filter
On Thu, May 3, 2012 at 3:12 PM, kenhans wrote:
> hell
Hi Claus,
It means, I shouldn't use handled(true), should I?
Thanks
--
View this message in context:
http://camel.465427.n5.nabble.com/onCompletion-not-working-when-move-file-tp5685102p5685462.html
Sent from the Camel - Users mailing list archive at Nabble.com.
On Fri, May 4, 2012 at 12:39 PM, agustino wrote:
> Hi Claus,
>
> It means, I shouldn't use handled(true), should I?
>
No dont use that. moveFailed will move the files if failing.
>
> Thanks
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/onCompletion-not-working-when-
Hi Team,
I am getting follwoing error:
Exception in thread "main" org.apache.camel.RuntimeCamelException:
org.apache.camel.FailedToStartRouteException: Failed to start route route69
because of Multiple consumers for the same endpoint is not allowed:
Endpoint[jms://com.test.request?concurrentCons
Hi Team,
Sorry, there was a mistake from my end.
I have another route listening on the same queue :)
--Regards,
atg roxx
On Fri, May 4, 2012 at 12:10 PM, atg roxx wrote:
> Hi Team,
>
> I am getting follwoing error:
>
>
> Exception in thread "main" org.apache.camel.RuntimeCamelException:
Dear Listener!
I have a route that starts with a file consumer that has the options 'move'
and 'moveFailed' configured.
After the file component has given away the file to the subsequent process
an exception is thrown that
will be handled via the exception policy (onException with handled=false)
I have forgotten to notice that the file component acts as expected as soon
as I
remove the exception policy (onException). However we need that for writing
an protocol.
--
View this message in context:
http://camel.465427.n5.nabble.com/Component-file-move-and-moveFailed-tp5685631p5685713.html
S
On Fri, May 4, 2012 at 2:23 PM, aggarwal.sachit
wrote:
> Hi
>
> I have "org.apache.camel.Message" message object , which is the best way to
> read size of message content passed ?
>
You mean the message body? Well Camel can route any kind of data so
there is nu one shot solution for "size".
>
Hi Leng,
The keystore/truststore updates should be infrequent, right? Do you have a
production environment with load balancing/failover? If so, you can take
one server out of commission and perform maintenance and then update the
other server. Otherwise, you probably have to do it in a maintenan
gah.. damn HTML mails... sorry for that, I'm trying again:
my route looks like this:
VeytonProxy proxy = new VeytonProxy(
new URL("http://shop.example.com/index.php?page=soap_api_wsdl";));
JaxbDataFormat d = new JaxbDataFormat(); d.setDataFormatName("jaxb");
d.setContextPath("com.xt_commerce.typ
On Fri, May 4, 2012 at 2:25 PM, Hilde wrote:
> I have forgotten to notice that the file component acts as expected as soon
> as I
> remove the exception policy (onException). However we need that for writing
> an protocol.
>
Yeah I can see this is a possible mistake, as your onException don't
han
Has this been baked into a snapshot release that is available or source build
only?
--
View this message in context:
http://camel.465427.n5.nabble.com/File-Processor-Not-deleting-the-files-tp5670301p5686206.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Hi
I use blueprint for my camel osgi bundles.
I don't understand how to register a dataformat or a codec in the registry
camel
My xml is as follows
and in my road builder I can not see my dataformat (I.E. my codec)
if I understand well
http://camel.465427.n5.nabble.com/How-to-bind-an-object-i
Is there a way to run with autoStartup enabled but have the route wait for a
specified period of time before starting to consume messages?
--
View this message in context:
http://camel.465427.n5.nabble.com/Delay-route-start-tp5686442.html
Sent from the Camel - Users mailing list archive at Nabble
Hi Claus
I already tried to build without running tests.
Claus Ibsen-2 wrote
>
> And the PendingExchangesTwoRouteShutdownGracefulTest may pass on 2nd try
> etc.
>
I tried it several times on the same machine I'm able to build my own
projects (including one using camel) and also some others o
Hi Thomas,
You can use JaxB NameSpacePrefixMapper to customize what the namespaces look
like. Basically it would take ns2 and set it to something more intuitive of
your choosing. See here for details:
http://stackoverflow.com/questions/1982977/is-it-possible-to-customize-the-namespace-prefix-tha
Hi,
I would look into using a routing slip here as well. Depending on how
dynamic your endpoints are you can poll the database using a timer, retrieve
your endpoints, havw a bean processor that creates a routing slip header,
and then send the exchange to the routing slip.
This could work if you k
Hi,
Yes. You should look into defining a SimpleScheduledRoutePolicy on your
route.
See [1], although the default values and meanings of each attribute seem to
be a bit clearer here [2].
You should set the routeStartDate attribute to current time + delay you
require, and keep the repeatCount and i
Claus Ibsen-2 wrote
>
> Hi
>
> Do you have mixed versions of Camel on the classpath?
> Make sure camel-jaxb and camel-core uses the same version.
>
You were correct. I added the following exclusion to my pom.xml and it
worked.
org.drools
Fantastic. Much appreciated.
--
View this message in context:
http://camel.465427.n5.nabble.com/Delay-route-start-tp5686442p5686646.html
Sent from the Camel - Users mailing list archive at Nabble.com.
I use camel-bindy in a Blueprint file here:
https://github.com/janstey/rider-auto-osgi/blob/master/rider-auto-normalizer/src/main/resources/OSGI-INF/blueprint/camel-context.xmlMaybe
that will help. You don't to explicitly add that to the registry.
Of course, for camel-bindy to be available to the
Hi
looking at your maven [ERROR] message, the problem you have is because of
camel-msv and your usage of Maven 3.0.4. So either:
- Make use of Maven 3.0.3 or less
- Do fix the camel-msv's pom.xml the same as by the following revision
http://camel.465427.n5.nabble.com/svn-commit-r1300914-in-camel-
You can generate your own Spring-based project with the
camel-archetype-spring archetype:
mvn archetype:generate -DarchetypeGroupId=orache.camel.archetypes
-DarchetypeArtifactId=camel-archetype-spring -DarchetypeVersion=2.9.2
-DgroupId=myGroupId -DartifactId=myArtifactId
You can run that with "mv
I am trying to add camel-mongodb to a route and when I used the following
dependency I get a not found error in eclipse.
2.9.2
org.apache.camel
camel-mongodb
${apache.camel-version}
Any
Never mind version check was not done by me
--
View this message in context:
http://camel.465427.n5.nabble.com/maven-camel-mongodb-not-found-tp5687223p5687236.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Hi
Can you post your full route, and the code you do in the onException.
It ought to work out of the box, so I wonder what's the issue you see.
On Fri, May 4, 2012 at 2:25 PM, Hilde wrote:
> I have forgotten to notice that the file component acts as expected as soon
> as I
> remove the exceptio
On Fri, May 4, 2012 at 8:21 PM, soumya_sd wrote:
>
> Claus Ibsen-2 wrote
>>
>> Hi
>>
>> Do you have mixed versions of Camel on the classpath?
>> Make sure camel-jaxb and camel-core uses the same version.
>>
>
>
> You were correct. I added the following exclusion to my pom.xml and it
> worked.
>
>
On Fri, May 4, 2012 at 5:23 PM, rdifrango wrote:
> Has this been baked into a snapshot release that is available or source build
> only?
>
Yeah its in the trunk and 2.9 branches.
http://camel.apache.org/source.html
The 2.10 SNAPSHOT can be downloaded
http://camel.apache.org/download.html
Or you
41 matches
Mail list logo