Jeff,
i can think of two approaches which might help:
whenever possible, i try to map my routing logic onto declarative
orchestrations of Enterprise Integration Patterns [1] to avoid interacting
directly with Camel's API [2], neutral though it may be. perhaps your
use-case can be satisfied by fa
i believe Predicate is in camel-core, and OGNLExpression is in camel-ognl,
SQLExpression is in camel-josql, and SpelExpression is in camel-spring.
I'm not sure about JXPath, but in general you can look at the online
javadocs [1] and see component/artifact name in the URL. the wiki [1] will
also u
yes, i remember filesystem operations in java tending towards the "lowest
common denominator" (e.g. locks are advisory [1]).
maybe idempotency [2] in flows downstream of the file consumption could
help achieve the desired behaviour?
[1]:
http://docs.oracle.com/javase/6/docs/api/java/nio/channels/
glad it worked for you!
Sven's example sounds more elegant and robust for a larger scenario, but
it's pushing the boundaries of my current skill level. i'll revisit once
i've learned more.
~ Reuben
On Thu, Mar 29, 2012 at 12:02, raad wrote:
> Reuben, I chose your method and it worked fine. T
Zemin,
let's take this conversation to the users' list ,
where participants focus on usage issues and will be better equipped to
assist you.
if you're interested in dynamic endpoint construction, take a look at these
resources:
http://camel.apache.org/dynamic-router.html
http://camel.apache.org/
Mario,
if you know in advance which beans will be consuming from the endpoint, you
could define them statically using Multicast, without the dynamism of
Recipient-List. if you don't need to await responses from the Multicast
targets before continuing from the Multicast block to the next pipe in t
raad,
i'm not sure this is directly related to camel, but it looks like you're
using a DriverManager-based connection pool within an OSGi environment. i
haven't used c3p0 before, but i do use Apache Commons DBCP and had a
similar issue with class loading problems. i believe i tracked it down to
On Wed, Mar 28, 2012 at 01:09, Christian Müller wrote:
> claim-check is the prefered solution if you deal with big data.
>
... or security-sensitive/confidential data! :]
~ Reuben
CXF is probably very relevant to your scenario, as Sergey indicates
(although i haven't used it yet).
for the general case of "dynamic" endpoints/URIs, check out these
resources:
http://camel.apache.org/dynamic-router.html
http://camel.apache.org/recipient-list.html
http://camel.apache.org/how-do
wow,
I'd like to move this discussion to the user list since you have usage
concerns.
my only suggestion is to use log [1] or tracer [2] to help diagnose that
routing details (e.g. headers) match their expected values. the commiters
will be able to give further insight.
[1]: http://camel.apache
ramnar,
i believe something like this should work:
http://camel.apache.org/message-translator.html
http://camel.apache.org/schema/spring";>
${in.body} extra data!
also, from what i've heard, the route models will have a much richer
semantic representation in camel 3.0 -
Is this a scenario where the WireTap's onPrepareRef might be helpful to
capture the needed information from the tapped Exchange before its parent
message is consumed?
~ RNPG
On Tue, Mar 20, 2012 at 05:08, Claus Ibsen wrote:
> You use local work directory with the FTP endpoint which means the
>
Ludovic,
It should be fine to pose your questions in multiple forums, as long as you
clearly identify and cross-link (as you have). StackOverflow is becoming
popular, and Claus has even answered several of my questions there. It's
the "blind" cross-posts without reference links that become annoy
thanks, Dan!
On Thu, Mar 1, 2012 at 12:16, Ashwin Karpe wrote:
> look for it ... in camel-extras/github. The component was quite
> compelling and could not be brought into the Apache Camel offering due to
> license restrictions in RabbitMQ.
>
to Ashwin's point (above), does this mean that elem
RabbitMQ appears to be licensed under MPL 1.1 [1], but there is a new MPL
2.0 [2] that is purportedly more Apache-friendly [3]. Are MPL 2.0 projects
compatible for incorporation in APL projects? I don't fully understand all
the intricacies entailed, but perhaps new possibilities will arise [4].
Ramesh,
I'm not as knowledgeable as the committers, but it looks like you're trying
to attach an instance of the EscapeTool class to a header in your Exchange
and then invoke it later on inside the Velocity template. But when you use
a expression in the Spring DSL, it just returns the text withi
I have a similar scenario in which I use a single timer endpoint that
s to different vm: or seda: queues containing the "real"
consumers. Could that be a good work-around in the interim?
~ RNPG
On Wed, Feb 22, 2012 at 07:46, Claus Ibsen wrote:
> Hi
>
> If the uri is slightly different then tha
newbiee,
I'm not sure I completely understand your situation, but it sounds more
like a dependency/deployment problem than something related to camel
itself.
If you're having trouble packaging your application's dependencies, then
maybe the Maven Shade plugin would help?
http://maven.apache.org/p
Chris,
i haven't used Wire Tap that much, but i think your markup is setting the
body after the wireTap block completes. assuming you want to send a
constant body to the wireTap target (activemq:queue:jms.incoming) for each
incoming request from the web service, maybe try this:
kapoor,
CamelContext.loadRoutesDefinition(…) receives a standard
java.io.InputStream - you don't have to obtain it from a classpath
resource. it sounds like you want a java.io.FileInputStream. try this:
InputStream is = new java.io.FileInputStream("E://cameltest.xml");
RoutesDefinition routes =
Rafal,
this sounds like the Content Enricher pattern to me:
http://camel.apache.org/content-enricher.html
a bean or inlined fluent processor is probably a good solution - you seem to be
on the right track
~ RNPG
On Feb 21, 2012, at 6:32, Rafal Janik wrote:
> Hi!
>
> I'm looking for the b
kapoor,
is this helpful?
http://camel.apache.org/loading-routes-from-xml-files.html
// load route from XML and add them to the existing camel
contextInputStream is = getClass().getResourceAsStream("barRoute.xml");
RoutesDefinition routes = context.loadRoutesDefinition(is);
context.addRoute
22 matches
Mail list logo