camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Müller <>
Subject Re: dynamic URI parameter in from URI?
Date Sat, 09 Mar 2013 01:04:38 GMT
You have to create a new route at runtime to archive this, e.g. in a

CamelContext context = exchange.getContext();
context.addRoutes(new RouteBuilder() {
    public void configure() throws Exception {


Sent from a mobile device
Am 08.03.2013 14:34 schrieb "Doug Douglass" <>:

> I'm familiar with dynamic to URI support in Camel[1], but I'm looking for
> ways to dynamically set the from URI or at least update a parameter in a
> from URI.
> Specifically, I'm using the Atom component to access a paged feed and want
> to follow "next" links to consume the entire feed (could total thousands to
> tens of thousands of entries) and then poll the feed. I'm currently using
> Camel 2.10.2, but can switch to any version if need be. Note that the Atom
> service I'm testing returns HTTP 304 if the "next" link has no updated
> entries; perhaps I should switch gears and use Timer and HTTP/HTTP4
> components and do my own processing via Abdera...
> Any tips are appreciated.
> Doug
> [1]

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message