L.S.,

If your the jms:consumer in your xbean.xml file uses a JMS ConnectionFactory
to establish the connection to the broker.  For ActiveMQ, you should find
something like this in your file:
<amq:connectionFactory id="connectionFactory"
brokerURL="tcp://localhost:61616" />

The queue will be auto-created by ActiveMQ when a connection is being made;
the best way to check this is by connection to ServiceMix (and the embedded
ActiveMQ) with a JMX console as explained in <amq:connectionFactory
id="connectionFactory" brokerURL="tcp://localhost:61616" /> and looking at
the list of queues for ActiveMQ there.

Regards,

Gert


stlecho wrote:
> 
> Hi,
> 
> I'm deploying the jms:consumer in the standard ServiceMix distribution, so
> I suppose that ServiceMix uses internally ActiveMQ to host the defined
> queues. If this supposition is correct, how can I automatically create the
> required queues when deploying the SA ?
> 
> Regards, Stefan Lecho.
> 
> 
> Chris Custine (Apache) wrote:
>> 
>> Like Guillaume said, if you are using ActiveMQ then by default the queue
>> should be created for you.  It sounds like you might be using something
>> other than ActiveMQ and creation of queues would be entirely specific to
>> the
>> product and probably require some type of administration tool.  If you
>> are
>> using ActiveMQ let us know and we can work through it in more detail.
>> 
>> Chris
>> 
>> --
>> Chris Custine
>> My Blog :: http://blog.organicelement.com
>> Apache ServiceMix :: http://servicemix.apache.org
>> Apache Directory Server :: http://directory.apache.org
>> 
>> 
>> On Thu, Aug 21, 2008 at 9:44 AM, stlecho <[EMAIL PROTECTED]> wrote:
>> 
>>>
>>> I've defined an jms:consumer linked to a specific queue. When deploying
>>> the
>>> SA, I've noticed that this queue is not automatically created. How can I
>>> control the automatic creation of queues at deployment time ?
>>>
>>>
>>> gnodet wrote:
>>> >
>>> > I guess you are tallkin about JMS queues...
>>> > ServiceMix does not perform any JMS administration, however if you use
>>> > ActiveMQ, there is no need for that, as queues and topics and created
>>> > dynamically and JNDI is not necessary.
>>> >
>>> > Cheers,
>>> > Guillaume Nodet
>>> >
>>>
>>> --
>>> View this message in context:
>>> http://www.nabble.com/creating-and-using-queue-tp3658202p19091464.html
>>> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>>>
>>>
>> 
>> 
> 
> 


-----
---
Gert Vanthienen
http://www.anova.be
-- 
View this message in context: 
http://www.nabble.com/creating-and-using-queue-tp3658202p19095744.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to