Hi,

I guess what you are looking for is described on the following Camel link

http://camel.apache.org/pipes-and-filters.html
http://camel.apache.org/pipes-and-filters.html 

Check this out. There is no need to write component code. You can use the
DSL described in the link

Hope this helps.

Cheers,

Ashwin...


larjohn wrote:
> 
> Thanks, but I doubt I can do that myself for the time being. So I need to
> use Camel to exchange messages between two service units? Let's say I have
> a service unit that has to ask information from an other one, then
> manipulate it some way and send some related information to a third
> service unit. Do they need a routing component to talk?
> Can't they talk directly? I mean if I can code it in their java files. I
> saw something about a context and a delivery channel in every component
> documentation but I don't know how to use it. 
> 
> 
> 
> Ashwin Karpe wrote:
>> 
>> Hi,
>> 
>> If you want to use the NMR directly with CXF and Camel, there is an
>> example of this in the Servicemix 4.x OSGI based download.
>> 
>> If you intend to use this with Servicemix 3.x then you will need to port
>> the POMs to not generate bundles.
>> 
>> Cheers,
>> 
>> Ashwin...
>> 
>> 
>> larjohn wrote:
>>> 
>>> Hi, I am still a beginner in Servicemix so please be patient while
>>> answering questions like mine :-P
>>> 
>>> I have two service units on top of cxf-se in the same service
>>> assemblies. They are both copies of the wsdl-cxf example, but with
>>> different endpoints. I see how the outter world sends messages to the
>>> cxf-se through cxf-bc or an http, but I wonder which is the simpler way
>>> to send a message (eg a string) from the one cxf-se to the other through
>>> the nmr. I mean what do I need to implement in their classes? Is there a
>>> specific interface? Will they be notified automatically for incoming
>>> messages? I have seen samples with camel, eip and routing, but I think
>>> it can be done without them, can't it? I don't need a complex solution,
>>> just a simple one, to say hello world from the one cxf-se to the other,
>>> and a simple way to test that, without unittests (where do
>>> system.out.writes go?).
>>> Can you help me?
>>> 
>> 
>> 
> 
> 


-----
--- 
Ashwin Karpe, Principal Consultant, PS - Opensource Center of Competence 
Progress Software Corporation
14 Oak Park Drive
Bedford, MA 01730
--- 
+1-972-304-9084 (Office) 
+1-972-971-1700 (Mobile) 
---- 
Blog: http://opensourceknowledge.blogspot.com/


-- 
View this message in context: 
http://www.nabble.com/Component-to-component-messaging-in-a-simple-way-tp21549001p21574249.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to