Set up multiple network connector in the same instance ActiveMQ

View: New views
5 Messages — Rating Filter:   Alert me  

Set up multiple network connector in the same instance ActiveMQ

by titexe :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello everybody,

it's possible to configure network connector to allow the queues that their names begin with "A. *" ? and to configure multiple network connector for the same broker?

if yes how setup this ;)

Thank you in advance

titexe

Re: Set up multiple network connector in the same instance ActiveMQ

by Gary Tully :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

yea, see
http://activemq.apache.org/networks-of-brokers.html#NetworksofBrokers-NetworkConnectorPropertiesdynamicallyIncludedDestinations

And to configure mutliple connectors, just add them in and give them
different "name" attributes.

2009/10/28 titexe <titexe@...>

>
> Hello everybody,
>
> it's possible to configure network connector to allow the queues that their
> names begin with "A. *" ? and to configure multiple network connector for
> the same broker?
>
> if yes how setup this ;)
>
> Thank you in advance
>
> titexe
> --
> View this message in context:
> http://www.nabble.com/Set-up-multiple-network-connector-in-the-same-instance-ActiveMQ-tp26092055p26092055.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>
>


--
http://blog.garytully.com

Open Source Integration
http://fusesource.com

Re: Set up multiple network connector in the same instance ActiveMQ

by titexe :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thank you for your response;

is one question which I can not find the answer :

it's possible to configure network connector (staticallyIncludedDestinations , excludedestination)to allow the queues that their names begin with "A. *" ?

Thank you in advance,

titexe


Gary Tully wrote:
yea, see
http://activemq.apache.org/networks-of-brokers.html#NetworksofBrokers-NetworkConnectorPropertiesdynamicallyIncludedDestinations

And to configure mutliple connectors, just add them in and give them
different "name" attributes.

2009/10/28 titexe <titexe@yahoo.fr>

>
> Hello everybody,
>
> it's possible to configure network connector to allow the queues that their
> names begin with "A. *" ? and to configure multiple network connector for
> the same broker?
>
> if yes how setup this ;)
>
> Thank you in advance
>
> titexe
> --
> View this message in context:
> http://www.nabble.com/Set-up-multiple-network-connector-in-the-same-instance-ActiveMQ-tp26092055p26092055.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>
>


--
http://blog.garytully.com

Open Source Integration
http://fusesource.com

Re: Set up multiple network connector in the same instance ActiveMQ

by Gary Tully :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

don't think wildcards work for statically included destinations as a
destination name needs to be known upfront to setup up the forwarding
consumer.

2009/10/28 titexe <titexe@...>

>
> Thank you for your response;
>
> is one question which I can not find the answer :
>
> it's possible to configure network connector
> (staticallyIncludedDestinations
> , excludedestination)to allow the queues that their names begin with "A. *"
> ?
>
> Thank you in advance,
>
> titexe
>
>
>
> Gary Tully wrote:
> >
> > yea, see
> >
> http://activemq.apache.org/networks-of-brokers.html#NetworksofBrokers-NetworkConnectorPropertiesdynamicallyIncludedDestinations
> >
> > And to configure mutliple connectors, just add them in and give them
> > different "name" attributes.
> >
> > 2009/10/28 titexe <titexe@...>
> >
> >>
> >> Hello everybody,
> >>
> >> it's possible to configure network connector to allow the queues that
> >> their
> >> names begin with "A. *" ? and to configure multiple network connector
> for
> >> the same broker?
> >>
> >> if yes how setup this ;)
> >>
> >> Thank you in advance
> >>
> >> titexe
> >> --
> >> View this message in context:
> >>
> http://www.nabble.com/Set-up-multiple-network-connector-in-the-same-instance-ActiveMQ-tp26092055p26092055.html
> >> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
> >>
> >>
> >
> >
> > --
> > http://blog.garytully.com
> >
> > Open Source Integration
> > http://fusesource.com
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/Set-up-multiple-network-connector-in-the-same-instance-ActiveMQ-tp26092055p26095013.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>
>


--
http://blog.garytully.com

Open Source Integration
http://fusesource.com

Re: Set up multiple network connector in the same instance ActiveMQ

by titexe :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello,

I have configured the 2 networks connectors with a different name, but there's only the first Network connector works :-(

for information : I checked on the jconsole 2 network connector are referenced.

following configuration :

<networkConnector uri="static://(tcp://DE99MQVA:61616)"
                         name="de"
                         dynamicOnly="false"
                         conduitSubscriptions="true"
                         decreaseNetworkConsumerPriority="false">
                    <excludedDestinations>
                       <topic physicalName=">"/>
                                                <queue physicalName=">"/>
                                </excludedDestinations>
                                <staticallyIncludedDestinations>
                                                <queue physicalName="Q.DE"/>
                                                <queue physicalName="temp.>"/>
                                </staticallyIncludedDestinations>
                </networkConnector>
                 <networkConnector uri="static://(tcp://FR99APVD:61616)"
                         name="fr"
                         dynamicOnly="false"
                         conduitSubscriptions="true"
                         decreaseNetworkConsumerPriority="false">
                    <excludedDestinations>
                       <topic physicalName=">"/>
                                                <queue physicalName=">"/>
                                </excludedDestinations>
                                <staticallyIncludedDestinations>
                                                <queue physicalName="Q.FR"/>
                                                <queue physicalName="temp.>"/>
                                </staticallyIncludedDestinations>
                </networkConnector>

ActiveMQ version: V5.3.0.3

Thanks in advance,

titexe
Gary Tully wrote:
don't think wildcards work for statically included destinations as a
destination name needs to be known upfront to setup up the forwarding
consumer.

2009/10/28 titexe <titexe@yahoo.fr>

>
> Thank you for your response;
>
> is one question which I can not find the answer :
>
> it's possible to configure network connector
> (staticallyIncludedDestinations
> , excludedestination)to allow the queues that their names begin with "A. *"
> ?
>
> Thank you in advance,
>
> titexe
>
>
>
> Gary Tully wrote:
> >
> > yea, see
> >
> http://activemq.apache.org/networks-of-brokers.html#NetworksofBrokers-NetworkConnectorPropertiesdynamicallyIncludedDestinations
> >
> > And to configure mutliple connectors, just add them in and give them
> > different "name" attributes.
> >
> > 2009/10/28 titexe <titexe@yahoo.fr>
> >
> >>
> >> Hello everybody,
> >>
> >> it's possible to configure network connector to allow the queues that
> >> their
> >> names begin with "A. *" ? and to configure multiple network connector
> for
> >> the same broker?
> >>
> >> if yes how setup this ;)
> >>
> >> Thank you in advance
> >>
> >> titexe
> >> --
> >> View this message in context:
> >>
> http://www.nabble.com/Set-up-multiple-network-connector-in-the-same-instance-ActiveMQ-tp26092055p26092055.html
> >> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
> >>
> >>
> >
> >
> > --
> > http://blog.garytully.com
> >
> > Open Source Integration
> > http://fusesource.com
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/Set-up-multiple-network-connector-in-the-same-instance-ActiveMQ-tp26092055p26095013.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>
>


--
http://blog.garytully.com

Open Source Integration
http://fusesource.com