You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by Glenn Macgregor <gm...@pocketkings.ie> on 2010/02/04 12:23:02 UTC
Newbie Question
Hi All,
I am fairly new to ActiveMQ, just downloaded 5.3.0 and started it following the getting stared guide. It is working but I am wondering why/how I have two queues which don't seem to be configured anywhere, example.A and FOO.BAR. Can I get rid of these queues and where are they configured?
Thanks
Glenn
Re: Newbie Question
Posted by Bruce Snyder <br...@gmail.com>.
On Thu, Feb 4, 2010 at 4:49 AM, Glenn Macgregor
<gm...@pocketkings.ie> wrote:
> Hi Tim,
>
> The camel.xml file is in my conf directory but not included by activemq.xml. I have stripped down a version of activemq.xml and found that when I comment out the:
>
> <bean class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
> <property name="locations">
> <value>file:${activemq.base}/conf/credentials.properties</value>
> </property>
> </bean>
>
> I don't get the two queues or the Advisory channel queue either, I assume this is not the solution though. Just as a test I have removed everything from the conf directory except for activemq.xml and credentials.properties and with only those files I still get the example.A and FOO.BAR queues.
>
> Is there any debugging I can turn on to tell me where these are coming from?
Timothy is correct regarding the example.A queue. It comes from the
camel.xml in the <camelContext> element which creates a JMS consumer
on the example.A queue.
The FOO.BAR queue comes from the demo webapp.
Once queues have been created, they must be explicitly removed either
via JMX or by deleting the data directory. Shutting down ActiveMQ and
deleting the data directory is the easiest way when you're just
developing because it will be automatically recreated when ActiveMQ
starts up again.
Bruce
--
perl -e 'print unpack("u30","D0G)U8V4\@4VYY9&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*"
);'
ActiveMQ in Action: http://bit.ly/2je6cQ
Blog: http://bruceblog.org/
Twitter: http://twitter.com/brucesnyder
RE: Newbie Question
Posted by Glenn Macgregor <gm...@pocketkings.ie>.
Hi Tim,
The camel.xml file is in my conf directory but not included by activemq.xml. I have stripped down a version of activemq.xml and found that when I comment out the:
<bean class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
<property name="locations">
<value>file:${activemq.base}/conf/credentials.properties</value>
</property>
</bean>
I don't get the two queues or the Advisory channel queue either, I assume this is not the solution though. Just as a test I have removed everything from the conf directory except for activemq.xml and credentials.properties and with only those files I still get the example.A and FOO.BAR queues.
Is there any debugging I can turn on to tell me where these are coming from?
Thanks
Glenn
-----Original Message-----
From: Timothy Bish [mailto:tabish121@gmail.com]
Sent: 04 February 2010 11:39
To: users@activemq.apache.org
Subject: Re: Newbie Question
On Thu, 2010-02-04 at 11:23 +0000, Glenn Macgregor wrote:
> Hi All,
>
> I am fairly new to ActiveMQ, just downloaded 5.3.0 and started it following the getting stared guide. It is working but I am wondering why/how I have two queues which don't seem to be configured anywhere, example.A and FOO.BAR. Can I get rid of these queues and where are they configured?
>
> Thanks
>
> Glenn
Check your camel.xml in the conf directory, those are samples to show
how to configure Camel routes inside of ActiveMQ.
Regards
Tim.
--
Tim Bish
http://fusesource.com
http://timbish.blogspot.com/
Re: Newbie Question
Posted by Timothy Bish <ta...@gmail.com>.
On Thu, 2010-02-04 at 11:23 +0000, Glenn Macgregor wrote:
> Hi All,
>
> I am fairly new to ActiveMQ, just downloaded 5.3.0 and started it following the getting stared guide. It is working but I am wondering why/how I have two queues which don't seem to be configured anywhere, example.A and FOO.BAR. Can I get rid of these queues and where are they configured?
>
> Thanks
>
> Glenn
Check your camel.xml in the conf directory, those are samples to show
how to configure Camel routes inside of ActiveMQ.
Regards
Tim.
--
Tim Bish
http://fusesource.com
http://timbish.blogspot.com/