Thanks for your reply.
Tried changing creation of exchange but didnt help. Have added a test
case "TestLoad".
Attached maven project.
Thanks,
Sumit Teke
Omniscient Software Pvt Ltd
T. +91-20-26680814, Ext. 217
F. +91-20-26680815, Ext. 212
M. +91-9975709032
E. sumit_t...@omniscient.co.in
On
Hi
You should create the exchange using the endpoint, eg like this
Exchange exchange1 = context.getEndpoint("direct://start").createExchange();
But often its much easier just to use the template
context.createProducerTemplate().sendBody("direct://start",
"The body here");
And a rule of
On Wed, Feb 9, 2011 at 8:32 AM, Sumit Teke wrote:
> Still not able to find a way. Can anyone help please.
>
People in the community do not always have time to help everybody with
everything.
So be patient.
If you want someone to help you asap, then you can engage with a
commercial vendor or con
Still not able to find a way. Can anyone help please.
Thanks,
Sumit Teke
On Tuesday 08 February 2011 10:20 AM, Sumit Teke wrote:
Hi Ashwin,
Sorry i think, i was not clear in last post.
I understand that stopping camel context will stop all the routes.
What i did was
*Test 1: *Tried stop
Hi Ashwin,
Sorry i think, i was not clear in last post.
I understand that stopping camel context will stop all the routes. What
i did was
*Test 1: *Tried stopping camel context and then modified routes and
again started the context
/CamelContext camelContext = (CamelContext)
context.getBea
Hi,
If you stop the CamelContext all the routes are automatically stopped.
Alternatively, you can stop the routes and make changes without stopping the
context and then start the routes individually.
As for the second error, it is quite clear... Looks like you are starting
two routes with the sa
Hi Ashwin,
Thanks for your reply.
adviceRoute javadocs mentioned "Will stop and remove the old route from
camel context and add and start this new advised route."
When tried with restarting camel context, got NPE while advice route for
start interception
Exception in thread "main" java.lan
Hi,
I took a look at your code and I see that when you add interceptors you do
not stop the running camel context or the routes and then re-start it the
context or routes after adding the interceptors.
Please update your code and try again.
Cheers,
Ashwin...
-
Hi,
I took a look at your code and I see that when you add interceptors you do
not stop the running camel context or the routes and then re-start it the
context or routes after adding the interceptors.
Please update your code and try again.
Cheers,
Ashwin...
-