y nice sawtooth pattern even under heavy load.
On Tue, Apr 26, 2016 at 10:30 AM, Jeff Segal
wrote:
> For a particular test run, I see a peak of about 1.4 GB of char[]
> instances (most of which appear to be JSON Strings), but then it settles
> back down to about half that size indefinitel
he memory recovered?
>
>
> > On Apr 25, 2016, at 4:01 PM, Jeff Segal wrote:
> >
> > I've got a set of routes that make a bunch of web service calls in quick
> > succession, convert the XML to JSON and then save the results off to
> > MongoDB. This occurs on a scheduled
I've got a set of routes that make a bunch of web service calls in quick
succession, convert the XML to JSON and then save the results off to
MongoDB. This occurs on a scheduled basis (using the scheduler component,
configured to run every few hours typically).
Functionally, it works great. But I'
ition.class).selectIndex(1) to intercept after my
second split().
Jeff
On Fri, Apr 22, 2016 at 3:03 PM, Jeff Segal wrote:
> Awesome, thanks Claus. I switched to using weaveById and got the exact
> behavior that I wanted in my actual route (weaveByType could work too but
> is a bit less
est I'd use weaveById("weaveHere").after().to("mock:foo") to
perform my validations.
Jeff
On Fri, Apr 22, 2016 at 2:35 PM, Claus Ibsen wrote:
> On Fri, Apr 22, 2016 at 6:23 PM, Jeff Segal
> wrote:
> > Minh - that's exactly what I'm tryi
I wanted. I could just do what I've shown above and
throw a mock endpoint in there that I can use as an adviceWith
interceptSendTo hook, but I'm wondering if there's a better alternative
than that.
Jeff
On Fri, Apr 22, 2016 at 6:58 AM, Claus Ibsen wrote:
> On Thu, Apr 21,
I've got a route that I'd like to do some unit testing on at various
stages. It does a few splits, sets some headers, etc. The problem is that
there's no actual endpoint for me to intercept until the very end, but I'd
like to do some verification midway through.
I suppose I could add arbitrary moc
The camel docs advise not to use adviceWith multiple times in the same
route, but say that it's OK to use it across multiple routes. However, I'm
seeing problems with the latter. If I use the following in my test...
context.getRouteDefinition("route1").adviceWith(context, new
AdviceWithRou
unner.class)
>
>
>
> On Fri, Apr 15, 2016 at 2:48 PM, Jeff Segal
> wrote:
> > I may be in the same boat. May I ask - did you rip out Spring Boot
> entirely
> > or just use vanilla camel-spring + Spring Boot? I'm hoping just the
> latter.
> >
>
y with any known
> workarounds.
>
> BTW once I ripped out Camel Spring Boot the @UseAdviceWith worked.
> ________
> From: Jeff Segal
> Sent: 14 April 2016 18:18
> To: users@camel.apache.org
> Subject: Re: camel-spring-boot + @UseAdviceWith
like
> @MockEndpoints"
>
> So perhaps they never got done. I had problems with @MockEndpoints as
> well. I am also experiencing strangeness with NotifyBuilder but that could
> be unrelated.
>
> From: Jeff Segal
> Sent:
All,
I'm currently creating a camel-spring-boot project and would like to add
some tests using @UseAdviceWith but am hitting a few issues. I couldn't
find an example that fit that use case exactly, so I've played around with
different things to no avail.
Specifically, I found that when I use @Con
Success! My threads are now being cleaned up properly after Route removal
upon upgrading to 2.9.2. Thanks again.
On Fri, Apr 20, 2012 at 1:41 PM, Jeff Segal wrote:
> Oops. I'm using 2.9.1. I'm guessing this is the issue:
> https://issues.apache.org/jira/browse/CAMEL-5072. I
his has been fixed in 2.9.2.
>
>
> On Fri, Apr 20, 2012 at 6:42 PM, Jeff Segal
> wrote:
> > I created a custom Component which extends ScheduledPollConsumer. I've
> > found that when I stop and remove its Routes at runtime, the Routes are
> &g
Thanks,
Jeff
On Fri, Nov 18, 2011 at 12:53 PM, Jeff Segal wrote:
> Thanks Claus. I created https://issues.apache.org/jira/browse/CAMEL-4693 for
> this. I'll also see if I can roll my sleeves up and provide a patch for it.
>
>
> On Fri, Nov 18, 2011 at 3:28 AM, Claus Ibsen
hat the RouteBuilder creates just a
> > model, not the route themselves.
> >
> > Hadrian
> >
> > On 04/04/2012 03:53 PM, Jeff Segal wrote:
> >> Sure. I have a system which manages Routes dynamically, which requires
> some
> >> garbage collection
color in the
> route id (e.g. id="red.something" and if id.startsWith("red.") then garbage
> collect. Also keep in mind that the RouteBuilder creates just a model, not
> the route themselves.
>
> Hadrian
>
> On 04/04/2012 03:53 PM, Jeff Segal wrote:
>
>&
oute-Properties mapping in
memory.
Does this make sense?
On Wed, Apr 4, 2012 at 3:15 PM, Raul Kripalani wrote:
> Hi Jeff,
>
> Could you explain your use case a bit further? It is not clear what you
> ultimately want to achieve.
>
> Regards,
> Raúl.
>
> On 4 April 2012 18:
Is there any facility to add arbitrary properties to Routes rather than
just Exchanges from within a RouteBuilder? I noticed that there are a few
internally managed properties automatically added to each Route (id,
parent, group) but I could not find a hook to set additional ones from a
RouteBuilde
t.
>
> We love contributions
> http://camel.apache.org/contributing.html
>
> So feel free to create a JIRA and if possible attach a patch as well.
>
>
> On Thu, Nov 17, 2011 at 6:54 PM, Jeff Segal
> wrote:
> > Hi all,
> >
> > I have a technical problem as well as
Hi all,
I have a technical problem as well as a related documentation issue to
report. The technical problem is as follows:
HttpComponents 4.x provides a facility to use a HttpContext for a given
request by calling HttpClient.execute(HttpUriRequest, HttpContext), but it
looks like the http4 Camel
Just to add to this, I receive the same error when pointing at a local
instance of Openfire rather than jabber.org.
On Mon, Oct 17, 2011 at 8:17 AM, Jeff Segal wrote:
> Hi Claus,
>
> I'm using 2.8.1.
>
> Jeff
>
>
> On Mon, Oct 17, 2011 at 8:09 AM, Claus Ibsen wrot
Hi Claus,
I'm using 2.8.1.
Jeff
On Mon, Oct 17, 2011 at 8:09 AM, Claus Ibsen wrote:
> Hi
>
> What version of Camel are you using?
>
> On Fri, Oct 14, 2011 at 8:42 PM, Jeff Segal
> wrote:
> > I'm testing the XMPP component against the public jabber.org se
I'm testing the XMPP component against the public jabber.org servers
and seeing an unexpected problem when sending messages to a MUC. I
have both a consumer and producer route and the consumer can receive
messages sent from an external client successfully. I'd like the same
user to be able to send
:11 PM, Jeff Segal wrote:
>> I have an application which dynamically creates and removes routes in
>> a camel context. I'd like to be able to invoke an onShutdown method
>> when routes are removed so that I can perform some cleanup tasks. I've
>> read http://camel.
I have an application which dynamically creates and removes routes in
a camel context. I'd like to be able to invoke an onShutdown method
when routes are removed so that I can perform some cleanup tasks. I've
read http://camel.apache.org/graceful-shutdown.html but wasn't able to
find a good solutio
solution by following Ben and Donald's advice.
Cheers,
Jeff
On Thu, Jul 14, 2011 at 2:01 PM, Claus Ibsen wrote:
> On Thu, Jul 14, 2011 at 7:41 PM, Jeff Segal
> wrote:
> > I'd like to know the best way to add domain-specific context information
> to
> > Exchanges link
I'd like to know the best way to add domain-specific context information to
Exchanges linked to a particular RouteBuilder. Let's say that I have the
following:
public class MyRouteBuilder extends RouteBuilder {
String someProperty;
@Override
public void configure() throws Exception {
I have some general question about Camel and Jetty integration.
First, given that the jetty: Camel Component creates an embedded Jetty
server, is it assumed that this component would never be used within a web
app? Or am I missing something?
Second, I noticed that JettyHttpComponent manages a Map
;consumer.initialDelay=0").
>marshal().rss().
> to("mock:result").routeId("routeId");
>
> Then when you remove the route you use the same routeId string.
>
> I hope this helps.
>
> -josh.
>
>
>
>
> On 26/04/2011 15:
Hi all,
I have written a service bean which can add and remove Routes dynamically
and I'd like to know if my approach was "kosher" in terms of best practices.
It's not exactly pretty, but it does work. Here are the two classes:
@Component
public class RssRouter implements CamelContextAware {
31 matches
Mail list logo