NMR gives you synchronous invocations too (InOut), and allows for
multiple containers to be clustered together via JBI clustering.

There is an option in AMQ connection URIs to defer object
serialisation, especially intended for the VM transport where the
objects don't need to be serialised. You might what to check it out.

On 17 Feb 2012, at 07:24, Zhemzhitsky Sergey
<[email protected]> wrote:

> It seems that camel-vm component works in OSGi environment rather good to 
> communicate between  bundles and as it extends seda component it supports 
> pub-sub.
>
> So now the question is why there are a lot of places and blogs that suggest 
> to use nmr for inter-bundle communication if camel-vm could be used for the 
> same purpose? I understand that nmr is not coupled with the camel and I'm 
> wondering that benefits nmr can provide when it's used together with camel 
> (except for exchange/transport listeners)?
>
>
>
> Best Regards,
> Sergey
>
> -----Original Message-----
> From: Zhemzhitsky Sergey [mailto:[email protected]]
> Sent: Thursday, February 16, 2012 7:21 PM
> To: [email protected]
> Subject: RE: camel-nmr pub-sub
>
> camel-seda only works in a single camel context. I need to communicate 
> between OSGi bundles in the same JVM and camel-nmr fits rather well for this 
> task.
>
> I need to pass rather large amount of data between bundles and JMS component 
> even if used in the same VM (for example vm transport in activemq) requires 
> serialization, so I'm looking for a better solution.
>
>
> Best Regards,
> Sergey
>
> -----Original Message-----
> From: Ashwin Karpe [mailto:[email protected]]
> Sent: Thursday, February 16, 2012 7:14 PM
> To: [email protected]
> Subject: Re: camel-nmr pub-sub
>
> Hi,
>
> Any particular reason why it has to be an NMR endpoint. Can this not be done 
> using SEDA... The NMR in JBI was built around SEDA or JMS...
>
> Just a thought...
>
> - Ashwin...
>
> -----
> ---------------------------------------------------------
> Ashwin Karpe
> Apache Camel Committer & Sr Principal Consultant FUSESource (a Progress 
> Software Corporation subsidiary) http://fusesource.com
>
> Blog: http://opensourceknowledge.blogspot.com
> ---------------------------------------------------------
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/camel-nmr-pub-sub-tp5489710p5489766.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>
> _______________________________________________________
>
> The information contained in this message may be privileged and conf idential 
> and protected from disclosure. If you are not the original intended 
> recipient, you are hereby notified that any review, retransmission, 
> dissemination, or other use of, or taking of any action in reliance upon, 
> this information is prohibited. If you have received this communication in 
> error, please notify the sender immediately by replying to this message and 
> delete it from your computer. Thank you for your cooperation. Troika Dialog, 
> Russia.
> If you need assistance please contact our Contact Center  (+7495) 258 0500 or 
> go to www.troika.ru/eng/Contacts/system.wbp
>
>

Reply via email to