Re: Camel direct component

2013-02-04 Thread Willem jiang
There are some use cases: If you take a look at the unit tests in camel, you will find we leverage the direct component to send the request to the camel context to test the route. If you have a big route, you can use the direct component to break it to serval sub route, it can make the route mo

Re: Camel direct component

2013-02-05 Thread Henryk Konsek
Hi Jothi, > Could anyone please let me know of a > practical example where the direct component would be a good fit? As a addition to what Willem wrote I would mention "abstraction". If you work on big Camel project spread across independent development teams, you can define contracts between ro

Re: Camel direct component

2013-02-05 Thread Hadrian Zbarcea
Hi Jothi, A direct: endpoint provides a synchronous, in memory call which is probably the simplest, most basic way in which two endpoints could communicate. In real life endpoints almost never share the memory space, right? So the answer to your question revolves around those usecases where t

Very Urgent - Camel direct component issue.

2017-01-14 Thread sari.reach
we are using *camel direct component* in our project. Application will work fine most of the time. But sometimes services won't work because of following exception. if we restart server again things will go normal. we are not following any route startup order to start camel routes. All r

Re: Very Urgent - Camel direct component issue.

2017-01-14 Thread souciance
Did something happen to bring down the route if a restart makes everything work? What kind of data is being sent before that error occurs? On Sat, Jan 14, 2017 at 2:24 PM, sari.reach [via Camel] < ml-node+s465427n5792539...@n5.nabble.com> wrote: > > > we are using *camel direct co

Re: Very Urgent - Camel direct component issue.

2017-01-14 Thread sari.reach
\n\n HOTEL\n wrote: > Did something happen to bring down the route if a restart makes everything > work? What kind of data is being sent before that error occurs? > > On Sat, Jan 14, 2017 at 2:24 PM, sari.reach [via Camel] <[hidden email] > <http:///user/SendEma

Re: Very Urgent - Camel direct component issue.

2017-01-14 Thread souciance
he.catalina.core. > ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)\n\tat > org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)\n\tat > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter( > ApplicationFilterChain.java:241)\n\tat

Re: Very Urgent - Camel direct component issue.

2017-01-14 Thread sari.reach
hase.PhaseInterceptorChain.doIntercept(Phase >> InterceptorChain.java:307)\n\tat org.apache.cxf.transport.Chain >> InitiationObserver.onMessage(ChainInitiationObserver.java:121)\n\tat >> org.apache.cxf.transport.http.AbstractHTTPDestination.invoke >> (AbstractHTTPDestination.j

Re: Very Urgent - Camel direct component issue.

2017-01-14 Thread souciance
Proxy738.cartToBooking(Unknown >>> Source)\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native >>> Method)\n\tat sun.reflect.NativeMethodAccess >>> orImpl.invoke(NativeMethodAccessorImpl.java:57)\n\tat >>> sun.reflect.DelegatingMethodAccessorImpl.inv

Re: Very Urgent - Camel direct component issue.

2017-01-14 Thread sari.reach
vocation.java:179)\n\tat >>>> com.ibsplc.sprout.audit.AuditAdviser.invoke(AuditAdviser.java:65)\n\tat >>>> org.springframework.aop.framework.ReflectiveMethodInvocation >>>> .proceed(ReflectiveMethodInvocation.java:179)\n\tat >>>> com.ibsplc.icomm.secu

Re: Very Urgent - Camel direct component issue.

2017-01-16 Thread sari.reach
Can you please let me know how to add block=true to producertemplate? -- View this message in context: http://camel.465427.n5.nabble.com/Very-Urgent-Camel-direct-component-issue-tp5792539p5792569.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Very Urgent - Camel direct component issue.

2017-01-16 Thread souciance
-- > If you reply to this email, your message will be added to the discussion > below: > http://camel.465427.n5.nabble.com/Very-Urgent-Camel-direct- > component-issue-tp5792539p5792569.html > To start a new topic under Camel - Users, email > ml-node+s465427n46

Re: Very Urgent - Camel direct component issue.

2017-01-18 Thread sari.reach
.n5.nabble.com/Very-Urgent-Camel-direct-component-issue-tp5792539p5792712.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Very Urgent - Camel direct component issue.

2017-01-19 Thread sari.reach
after 2 or 3 hours should have worked as the consumers should be available at a later point because there are no requests fired in between this duration. -- View this message in context: http://camel.465427.n5.nabble.com/Very-Urgent-Camel-direct-component-issue-tp5792539p5792797.html Sent from the

Re: Very Urgent - Camel direct component issue.

2017-02-08 Thread sari.reach
Anybody has an update on this -- View this message in context: http://camel.465427.n5.nabble.com/Very-Urgent-Camel-direct-component-issue-tp5792539p5793706.html Sent from the Camel - Users mailing list archive at Nabble.com.