Hi,
would programmatically stopping a specific route be a solution?
camelContext.stopRoute(routeId);
Regards,
Thomas
On Fri, Aug 8, 2014 at 5:28 AM, unklez wrote:
> How do you prevent a single route from kicking in without having to shut
> down
> camel or impacting other in-flight routes?
>
Hi,
Isn't the question about "preventing a route from kicking in" ? We can stop a
route only if it has been started.
Even CamelContext.suspendRoute(routeId) my not work on a route yet to start.
There is a warmUp() on the inteface Route. This is called(via callback) before
the route starts. You
If you dont want a route to start, then set autoStartup=false on it
On Fri, Aug 8, 2014 at 10:43 AM, wrote:
> Hi,
>
> Isn't the question about "preventing a route from kicking in" ? We can stop a
> route only if it has been started.
>
> Even CamelContext.suspendRoute(routeId) my not work on a r
Hi folks !
I'd like to write a camel route that consumes a group of messages from a
queue to persist it in a database in a single transaction and of course I
can't loose any message.
Basically, I was hoping it will work as expected by using a transacted
route with an aggregation strategy in memor
Thanks for the hint
Solved this way
from("cxf:bean:hubws?dataFormat=MESSAGE").streamCaching()
.bean(AddIpBean.class)
.bean(SetRoutingKey.class)
.bean(Util.class, "setMiljo")
.multicast()
.to("direct:channel1", "direct:channel2","direct:channel3")
.aggregatio
DSL how to set aggregationStrategy on a choise() when() ?
I have looked at littel on this problem, but cant figure out how to do
it...
This dosent work, but how ? this fails with syntax error: The method
aggregationStrategy(HubAggregationStrategy) is undefined for the type
Cho
Try .endChoice() before the aggregation?
-Original Message-
From: Frankiboy [mailto:mail.to.fra...@gmail.com]
Sent: 08 August 2014 14:14
To: users@camel.apache.org
Subject: DSL how to set aggregationStrategy on a choise() when() ?
DSL how to set aggregationStrategy on a choise() when() ?
Re-reading your route, I think the multicast needs to go into the choice
blocks, rather than outside the choice. But then you still have the same number
of multicast routes. What are you trying to achieve?
Elvio
-Original Message-
From: Elvio Caruana (ecaruana)
Sent: 08 August 2014 15:
I have to use Content-Type on a GET request with null body, http, http4
doesn't work.
Follow Willem's answer, I am trying to use cxfrs.
>From Willem :
I just found camel-cxfrs can set the content-type even with get request.
Maybe you can consider to use camel-cxfrs instead of camel-http4 componen
Hi
I have been trying to JUnit one of my Camel routes where the Camel context
contains a . When I comment this out my test works, but I
cannot seem to get my test to run with this in as I get an error,
IllegalArgumentException: Cannot find RouteContext with reference
commonRoute.
How do I either
Hi folks,
I'm getting this error regularly after uploading a file to SolarWinds SFTP
server
JSCH -> Caught an exception, leaving main loop due to End of IO Stream Read
It happens almost exactly 2 minutes after the upload. As far as I can tell,
the upload has completed successfully every time
I am getting an java.lang.OutOfMemoryError: Java heap space when using
camel sql component with a query that returns a large number of rows.
Using a small value for maxMessagesPerPoll=10 does not help[1].
When reading the source[2], I see:
255 protected List> queryForList(ResultSet rs) throws
I fixed this at the database level by limiting how many rows can come back
using SQL.
Is there a reason camel does not allow the limiting of how many rows are
pulled from the result set?
Thanks! --Matt Payne
On Fri, Aug 8, 2014 at 3:34 PM, Matt Payne wrote:
> I am getting an java.lang.OutOfM
I, too, have found the transaction support to be a bit inflexible.
Honestly, I'd probably implement such a thing using EJB, JMS, JPA (or JDBC,
doesn't really matter), and JTA. Though I'm not super clear on the
semantics of using a global transaction with nested local transactions.
Anyway, perhaps
Add "limit 500" (or whatever) to the end of your query. Unless you're
expecting some sort of streaming ResultSet support sort of thing, but that
might require some workarounds.
On 8 August 2014 17:32, Matt Payne wrote:
> I fixed this at the database level by limiting how many rows can come back
Just one step forward on this example...
The culprit is "MQTTTopicPropertyName" exchange property which is set
by MQTT consumer. MQTT producer send a message to the topic specified
by this property if it exists and ignore the publishTopicName. It
means publishTopicName is ignored if MQTT consumer
i am using camel 2.13.2 and jboss 7.1.1 and seeing ->
java.lang.IllegalArgumentException: The separator has not been defined in
the annotation @CsvRecord or not instantiated during initModel. must be
specified
at org.apache.camel.util.ObjectHelper.notNull(ObjectHelper.java:297)
[camel-core
I am using spring DSl.
--
View this message in context:
http://camel.465427.n5.nabble.com/Create-and-add-routes-to-context-at-runtime-tp5754953p5754955.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Hiya,
I've created a patch for the camel-salesforce component and submitted it as
an attachement for this Jira
https://issues.apache.org/jira/browse/CAMEL-7413?jql=text%20~%20%22camel-salesforce%22
It fixes some configuration issues and documentation bugs.
I'll start tackling some of the meatier
Hi
I have a scenario like I need to create route at run time by reading user
configuration in DB. Can anyone help me with example how I can do that.
Example with explanation might help me more in understanding concept.
Thank you in advance
Ajit
--
View this message in context:
http://camel.46
Hi
See an example here
http://camel.apache.org/loading-routes-from-xml-files.html
On Fri, Aug 8, 2014 at 7:38 PM, sakchakravarthi
wrote:
> Hi
> I have a scenario like I need to create route at run time by reading user
> configuration in DB. Can anyone help me with example how I can do that.
>
>
Hi all,
See an example here
http://camel.apache.org/loading-routes-from-xml-files.html
If you can't or don't want to use the Camel XML configuration directly,
you can always write a piece of Java code using a RouteBuilder that will
parse your own configuration file and create routes from that.
Hi
Yeah sounds like a bug. Feel free to log a JIRA ticket.
We should do like in camel-jms where we a header that is prefixed with
CamelJmsDestination as the control header to send to another
destination. And we do not propagate that header across. See the
source code for JmsProducer etc.
On Sat,
Hi
Yeah camel-stomp does not support the reply-to header. And other
headers for that matter. I have logged a ticket
https://issues.apache.org/jira/browse/CAMEL-7672
On Thu, Aug 7, 2014 at 6:48 PM, efenderbosch
wrote:
> I'm trying to either implement a request-response with stomp, using either:
>
Hi
There is camel-sjms component that supports batches.
But the camel-jms component uses spring JMS and its DMLC which is one
message at a time, and do not support batches.
On Fri, Aug 8, 2014 at 11:37 AM, Arnaud Deprez wrote:
> Hi folks !
>
> I'd like to write a camel route that consumes a gr
Hi
You can include a route .xml file with that id, at first so its loaded
before the original file. And in that xml file you just have empty
routes.
eg in that setConfigLocations then add your empty xml file first.
On Fri, Aug 8, 2014 at 5:04 PM, Rob wrote:
> Hi
>
> I have been trying to JUnit
Hi
Yeah not sure if Spring Boot does stuff differently than regular
spring framework in term of the property placeholder stuff.
Have you tried that spring -> camel bridge, there is a note about it
on the top of this page that points you to it
http://camel.apache.org/using-propertyplaceholder.html
27 matches
Mail list logo