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
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
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
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
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
\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
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
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
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
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
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.
--
> 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
.n5.nabble.com/Very-Urgent-Camel-direct-component-issue-tp5792539p5792712.html
Sent from the Camel - Users mailing list archive at Nabble.com.
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
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.
15 matches
Mail list logo