You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by nicolaide <ni...@gmail.com> on 2012/01/18 18:24:59 UTC

Accesing Servicemix broker in SMX 4.x

Hi, we have develop several extensions for Servicemix 3.x broker and we need
to know where we can find the declaration of this broker in SMX 4.X.
The extensions wraps the broker so in smx 3.x we just decorated the broker
definitions in the main spring file. Now we don't know where to find it and
re define it.

Thanks in advance!

--
View this message in context: http://servicemix.396122.n5.nabble.com/Accesing-Servicemix-broker-in-SMX-4-x-tp5155400p5155400.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Re: Accesing Servicemix broker in SMX 4.x

Posted by nicolaide <ni...@gmail.com>.
That's the answer I wanted to find. So many thanks guys!

--
View this message in context: http://servicemix.396122.n5.nabble.com/Accesing-Servicemix-broker-in-SMX-4-x-tp5155400p5161597.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Re: Accesing Servicemix broker in SMX 4.x

Posted by Gert Vanthienen <ge...@gmail.com>.
L.S.,


If you're using Apache ServiceMix 4.4.0, you should be looking at the
apache-servicemix-jbi assembly if you want to migrate your existing JBI
applications.

With regards to your other question: the Broker class no longer exists in
ServiceMix 4.  The same central rol in ServiceMix 4 is being handled by a
class implementing the NMR interface.  However, instead of implementing
your own NMR, you probably want to look into the
http://servicemix.apache.org/docs/4.4.0/users-guide/nmr/nmr-event-listeners.htmlwhich
allow you to interact with both the endpoints/components and the
message exchanges themselves.  There were similar interfaces in ServiceMix
3 as well, but in ServiceMix 4 these things have become a lot more
powerful.  For example: in ServiceMix 4, the NMR ExchangeListener allows
you to alter, redirect, reroute, ... exchanges as they are being conveyed
between endpoints.


Regards,

Gert Vanthienen
------------------------
FuseSource
Web: http://fusesource.com
Blog: http://gertvanthienen.blogspot.com/


On Thu, Jan 19, 2012 at 7:15 PM, nicolaide <ni...@gmail.com> wrote:

> First of all thanks for the reply, but I cant find what i want. In smx 3.x
> I'm actually looking for the implementation of the class
> org.apache.servicemix.jbi.nmr.Broker that is present in the Servicemix 3.x.
> because we have develop a lot of extensions.
>
> Another doubt that i have is what is the difference between the default
> Servicemix distribution and something called Servicemix-jbi distribution.
> Maybe this is what i need to use to keep all the JBI services, componentes
> and products working with SMX 4.x
>
> --
> View this message in context:
> http://servicemix.396122.n5.nabble.com/Accesing-Servicemix-broker-in-SMX-4-x-tp5155400p5158480.html
> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>

Re: Accesing Servicemix broker in SMX 4.x

Posted by nicolaide <ni...@gmail.com>.
First of all thanks for the reply, but I cant find what i want. In smx 3.x
I'm actually looking for the implementation of the class
org.apache.servicemix.jbi.nmr.Broker that is present in the Servicemix 3.x.
because we have develop a lot of extensions.

Another doubt that i have is what is the difference between the default
Servicemix distribution and something called Servicemix-jbi distribution.
Maybe this is what i need to use to keep all the JBI services, componentes
and products working with SMX 4.x

--
View this message in context: http://servicemix.396122.n5.nabble.com/Accesing-Servicemix-broker-in-SMX-4-x-tp5155400p5158480.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Re: Accesing Servicemix broker in SMX 4.x

Posted by Freeman Fang <fr...@gmail.com>.
Hi,

There's an activemq-broker.xml in SMX4.x/etc folder, I think that's  
what you're looking for.

Freeman
On 2012-1-19, at 上午1:24, nicolaide wrote:

> Hi, we have develop several extensions for Servicemix 3.x broker and  
> we need
> to know where we can find the declaration of this broker in SMX 4.X.
> The extensions wraps the broker so in smx 3.x we just decorated the  
> broker
> definitions in the main spring file. Now we don't know where to find  
> it and
> re define it.
>
> Thanks in advance!
>
> --
> View this message in context: http://servicemix.396122.n5.nabble.com/Accesing-Servicemix-broker-in-SMX-4-x-tp5155400p5155400.html
> Sent from the ServiceMix - User mailing list archive at Nabble.com.

---------------------------------------------
Freeman Fang

FuseSource
Email:ffang@fusesource.com
Web: fusesource.com
Twitter: freemanfang
Blog: http://freemanfang.blogspot.com