Hi all,
I am trying to use different camel context in my app.
I have a camel context based on spring:
http://www.springframework.org/schema/beans";
>xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
>xsi:schemaLocation="
>http://www.springframework.org/schema/beans
>
No, its better to have 1 camel context. And from the spring camel
context, you can refer to a or use package scanning
to find and add your java dsl route builder classes.
See the documentation
http://camel.apache.org/spring
On Sat, Dec 14, 2013 at 9:24 AM, Matteo Cusmai wrote:
> Hi all,
> I am
Hi Claus,
Thanks for rapid answer.
I agree with you, but the problem is that I am using akka camel extension
that creates a default camel context by itself.
I don't think it is a good idea scanning akka packaging to look for route
builders.
My idea is to use 2 different context, mine based on sprin
Oh dear maybe try to get the akka people to make this better, so you
can use a spring based camel with their stuff more easily.
If you want to integrate 2 different camel contexts in the same jvm,
then try with direct-vm or the vm component.
On Sat, Dec 14, 2013 at 10:03 AM, Matteo Cusmai wrote:
Hi Claus,
I am talking about this issue with Akka community in their mailing list, I
am waiting an answer.
In the mean time I am trying to figure out my solution to the issue.
However, regarding to manage 2 different camel contexts I read this link "
http://camel.apache.org/context.html";, and I h
You say you only use "simple statements", are you referring to the simple
language (http://camel.apache.org/simple)? If so, you don't need to include
camel-script at all. The simple language is part of camel-core and doesn't
require any external dependencies, apart from OGNL which is optional.
On
Hi
any opinion on how to make consumers consume all what is possible when
program is running then shutdown the route once processed?
It is basically needed for BatchEE camel extension (
https://git-wip-us.apache.org/repos/asf?p=incubator-batchee.git;a=blob;f=extensions/camel/src/main/java/org/apa
Hi,
I am using POJO dataformat.
--
View this message in context:
http://camel.465427.n5.nabble.com/Consuming-SOAP-web-service-using-Camel-tp5744305p5744770.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Hi,
{in.body} is java object which is the parameter to the web service method I
am going to consume.
--
View this message in context:
http://camel.465427.n5.nabble.com/Consuming-SOAP-web-service-using-Camel-tp5744305p5744771.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Hi Richard
Yes I am referring to the Simple language. I was surprised that it tries to
load JavaScript, and if I had explicitly used a JavaScript expression, I
would have been changed it. But it seems that it is loaded because of a
Predicate in an onWhen clause of an onException block.
That gave
Why not use a polling consumer?
On Sat, Dec 14, 2013 at 6:25 AM, Romain Manni-Bucau
wrote:
> Hi
>
> any opinion on how to make consumers consume all what is possible when
> program is running then shutdown the route once processed?
>
> It is basically needed for BatchEE camel extension (
> https:
Indeed. Though you could use it to start up and shut down, nothing stopping
you. I would not opt for that choice if I had some sort of deployment
system where I could keep the routes running.
*Robert Simmons Jr. MSc. - Lead Java Architect @ EA*
*Author of: Hardcore Java (2003) and Maintainable Jav
Try out this article:
https://weblogs.java.net/blog/manningpubs/archive/2013/02/13/akka-and-camel
You can init the Akka Camel context with spring and get the best of both
worlds.
*Robert Simmons Jr. MSc. - Lead Java Architect @ EA*
*Author of: Hardcore Java (2003) and Maintainable Java (2012)*
*
Hi All,
When using the SQL component as a consumer, I can't seem to stop it from
polling before the whole pipeline has finished. Instead it polls immediately
after the last message has been accepted as a message.
Consider:
.from("sql:select * from
a?dataSource=#datasource&maxMessagesPerPoll=3&co
Hi,
I have created maven project to create conectivity with salesforce.
Below is my camel context file. I have set dependency for all required camel
components along with camel salesforce plugin in pom.xml.
But I don't understand how to set loginConfig for SalesForceComponent
defined in camel co
Hmm, so if I understand you camel will not solve it. I find it sad cause
camel pipeline and the numerous components are 2 tempting things for
batches but the fact to be able to process what is here when starting and
dont wait another messge is no more is present is mandatory to be usable.
I know i
Hi Robert,
I know that article, it is part of camel in action book that i have read.
The problem is that he use scala api, and it is different and poorer than
java api.
On 14 Dec 2013 16:37, "kraythe ." wrote:
> Try out this article:
>
> https://weblogs.java.net/blog/manningpubs/archive/2013/02/1
17 matches
Mail list logo