Hi
Yeah read about using beans with Camel
http://camel.apache.org/bean-integration.html
http://camel.apache.org/bean-binding.html
And then use the bean component in the endpoint uri
http://camel.apache.org/bean
For example something alike
requestBody("bean:foo?method=bar(123, ${body}, true)", "H
Using *requestBody()* method can invoke the methods in Java class passing
some parameters .
If yes please give the example .
--
View this message in context:
http://camel.465427.n5.nabble.com/requestBody-tp5748665.html
Sent from the Camel - Users mailing list archive at Nabble.com.
It’s done.
You can find the patch from the JIRA I showed you earlier.
--
Willem Jiang
Red Hat, Inc.
Web: http://www.redhat.com
Blog: http://willemjiang.blogspot.com (English)
http://jnn.iteye.com (Chinese)
Twitter: willemjiang
Weibo: 姜宁willem
On March 12, 2014 at 11:18:32 AM, cdfleischmann
Thanks Willem, will look forward to the fix then :)
--
View this message in context:
http://camel.465427.n5.nabble.com/AWS-SNS-Camel-amazonSNSEndpoint-being-ignored-tp5748651p5748660.html
Sent from the Camel - Users mailing list archive at Nabble.com.
It looks like the spring jars in the war were miss up with those in the tomcat
lib.
--
Willem Jiang
Red Hat, Inc.
Web: http://www.redhat.com
Blog: http://willemjiang.blogspot.com (English)
http://jnn.iteye.com (Chinese)
Twitter: willemjiang
Weibo: 姜宁willem
On March 12, 2014 at 12:30:56 AM
Hello folks, wondering if you have come across this issue, or if there is
something simple I am doing wrong.
I am using the SNS Camel component, declared as:
/*
*/
And in my routebuilder, I have created the followi
Hi
I just checked the code and found camel ignores the “amazonSNSEndpoint” option.
So I filled a JIRA[1] and the patch is on the way :)
[1]https://issues.apache.org/jira/browse/CAMEL-7286
--
Willem Jiang
Red Hat, Inc.
Web: http://www.redhat.com
Blog: http://willemjiang.blogspot.com (English)
Ok,
Skip NPE for now since it's a problem with JdbcAggregationRepository i
suppose.
Anyway the test I've created fails.
please take a look at https://github.com/agdula/camel-test
there are Two test cases
https://github.com/agdula/camel-test/blob/master/src/test/java/com/pb/psep/testbase/Aggregato
I want to "open" up an application based product to enterprise integration
with Camel. That is, I want customers who buy my app to be able to provide
information to the app via Camel, without having to create a full public API
on my App.
I've read a lot of camel documentation, examples, even the b
Hi
Double check your classpath that you do not have mixed versions of
spring JARs / CXF / Camel etc.
We have seen this was the problem in the past with these kind of
stacktraces / errors.
On Tue, Mar 11, 2014 at 5:26 PM, Henryk Konsek wrote:
> Hi,
>
> Can you provide us minimal Maven project re
Hi
Yes that is expected as endpoints can be shared / in use by others.
You can remove them using the api on CamelContext if you are sure its
not needed anymore.
On Tue, Mar 11, 2014 at 5:24 PM, fradj zayen wrote:
> Hi,
> I'm using camel 2.12.1.
> using below configuration
>
>
>
>
Hi,
Can you provide us minimal Maven project reproducing the issue?
Cheers.
--
Henryk Konsek
http://henryk-konsek.blogspot.com
Hi,
I'm using camel 2.12.1.
using below configuration
once the context is started if I execute the following statements
camelContext.stopRoute("route1");
camelContext.removeRoute("route1");
I can see that:
- The route is stopped then removed from the conte
Hi,
Thanks for your responses. I have finally solved my problem. I found a very
useful link that is related to what Willem pointed.
http://stackoverflow.com/questions/9283861/camel-exception-handling-doesnt-work-if-exception-clause-is-defined-in-a-separat
Thank you very much for your help.
Jose
Hi all,
I'am using Camel 2.12.1 and three simple camel routes which are connected by
ActiveMQ.
In my second route I try to work with the enricher but the route hangs
before invoking the enricher route.
The enricher works fine if I have hust one camel context, but I want to use
the enricher across
Hi Claus,
Thanks for you response.
I can only see endDoTry(), not endDoCatch().
Should I use endDoTry() to end the inner doTry-doCatch block?
I am using Camel 2.11.0.
Thank you.
Jose
--
View this message in context:
http://camel.465427.n5.nabble.com/Nested-doTry-doCatch-blocks-tp574856
Ok perfect, thanks Claus!
I added a Json serialization/deserialization and it worked.
--
View this message in context:
http://camel.465427.n5.nabble.com/HttpClient-Bean-Serialization-inside-an-Http-Header-tp5748628p5748639.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Hi
Ah no the headers is not serialized. You need to do that yourself.
On Tue, Mar 11, 2014 at 2:30 PM, Zulio84 wrote:
> Thanks Claus
>
> but... it doesn't works for me because inside the camel body I've a
> SOAPMessage that have a different Content-Type (text/xml, not
> application/x-java-seria
Thanks Claus
but... it doesn't works for me because inside the camel body I've a
SOAPMessage that have a different Content-Type (text/xml, not
application/x-java-serialized-object).
There's an instruction that allows to serialize only the headers?
Or I must override the toString method and imple
Hi
There is a mime/type for serialized data, you need to set that as a
header, so it can be serialized over HTTP.
public static final String CONTENT_TYPE_JAVA_SERIALIZED_OBJECT =
"application/x-java-serialized-object";
On Tue, Mar 11, 2014 at 1:08 PM, Zulio84 wrote:
> Hi guys!
>
> I've a be
org.springframework.beans.factory.BeanDefinitionStoreException: Unexpected
exception parsing XML document from class path resource [camel-config.xml];
nested exception is org.springframework.beans.FatalBeanException: Class
[org.apache.camel.spring.handler.CamelNamespaceHandler] for namespace
[http:
I have figured out the issue. For testing some use cases I kept
autoStartup=false w.hich was not starting up the routes automatically. Even
though "asyncRESTReq" route was getting started somehow. Setting
autoStartup=true solved the problem and everything is working fine now.
Thanks a lot!
--
V
Hi guys!
I've a bean that contains some serializable value (the bean is serializable
too).
I want to send that bean to a server.
I put this bean inside an Exchange header the i use HTTPComponent as
httpclient to invoke a server.
Inside the server i try to deserialize the bean from the header but
FYI this is now supported in Camel 2.13:
https://issues.apache.org/jira/browse/CAMEL-7281
Colm.
On Tue, Feb 4, 2014 at 9:15 AM, Sebastian Bathke wrote:
> Hi,
>
> is there a way to set the certificate alias for the ssl key in case
> there are multiple in the keystore?
>
> I search for somethin
You have to use concurrentConsumer settings on the JMS or ActiveMQ
component as Claus suggested: http://camel.apache.org/jms
The JMS component has per default just 1 consumer and therefore the
messages are consumed synchronous no matter what you do after the
from(ACTIVEMQ_QUEUE) statement in your
Claus,
Thanks for your reply.
I have set the higher value. There is no duplicate entry in the idempotent
file.
But the camel is also trying to transfer after transferred all the files.
from("ftp://admin@10.1.5.140:2121/MF?noop=true&password=admin&passiveMode=true&localWorkDirectory=D:/tmp&maxMe
Hi
Read the javadoc of the file idempotent repo. It has a default 1st
level cache of 1000. Set a higher value.
On Tue, Mar 11, 2014 at 8:41 AM, skasish wrote:
> I want to transfer more than 1000 files.
>
> But after transferring all the file camel re-transfer the files again.
>
> I have set the
Hi,
If you take a look at
http://camel.apache.org/maven/current/camel-core/apidocs/org/apache/camel/processor/idempotent/FileIdempotentRepository.html#fileIdempotentRepository(java.io.File),
you can see that by default, the file based idempotent repository is for
1000 entries.
Maybe you can try w
I want to transfer more than 1000 files.
But after transferring all the file camel re-transfer the files again.
I have set the option on the ftp endpoint: idempotentRepository.
from("ftp://admin@10.1.5.140:2121/MF?noop=true&password=admin&passiveMode=true&localWorkDirectory=D:/tmp";)
Hi...So the solution I created (which seems to work), is as
follows:Imports:/*import
com.amazonaws.auth.ClasspathPropertiesFileCredentialsProvider;import
com.amazonaws.regions.Region;import com.amazonaws.regions.Regions;import
com.amazonaws.services.dynamodbv2.AmazonDynamoDBClient;import
com.amazon
30 matches
Mail list logo