You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@karaf.apache.org by Matt Madhavan <ma...@gmail.com> on 2011/12/15 19:49:24 UTC

Karaf+ActiveMQ Defining Queues

Hello,
I would like to define Queues and Topics in ActiveMQ running inside Karaf.
I'm used to defining them in activemq.xml.

Where can I find this file in Karaf? Is there any other (better) way of
defining Queues and Topics instead of defining from the Karaf console?

Thanks
Matt

--
View this message in context: http://karaf.922171.n3.nabble.com/Karaf-ActiveMQ-Defining-Queues-tp3589527p3589527.html
Sent from the Karaf - User mailing list archive at Nabble.com.

Re: Karaf+ActiveMQ Defining Queues

Posted by Andreas Pieber <an...@gmail.com>.
This one is an error of aries jndi. It will be fixed in the next version.
For now it will not affect your queues.

Kind regards,
Andreas

Send from my mobile. Please excuse the brevity and/or possible auto
correction errors.
On Dec 16, 2011 10:20 PM, "Matt Madhavan" <ma...@gmail.com> wrote:

> Hi Andreas,
> Thanks for the config file it was helpful. I'm getting a JMX warning
> though!
> Can you tell me what feature am I missing and should install?
>
> 2011-12-16 15:15:46,718 | WARN  | JMX connector    | ManagementContext
> | q.broker.jmx.ManagementContext$1  102 | 117 -
> org.apache.activemq.activemq-core - 5.5.0 | Failed to start jmx connector:
> *Cannot bind to URL [rmi://localhost:1099/jmxrmi]:
> javax.naming.NoInitialContextException: Unable to determine caller's
> BundleContext*
>
>
> Thanks
> Matt
>
>
> --
> View this message in context:
> http://karaf.922171.n3.nabble.com/Karaf-ActiveMQ-Defining-Queues-tp3589527p3592715.html
> Sent from the Karaf - User mailing list archive at Nabble.com.
>

Re: Karaf+ActiveMQ Defining Queues

Posted by Matt Madhavan <ma...@gmail.com>.
Hi Andreas,
Thanks for the config file it was helpful. I'm getting a JMX warning though!
Can you tell me what feature am I missing and should install?

2011-12-16 15:15:46,718 | WARN  | JMX connector    | ManagementContext               
| q.broker.jmx.ManagementContext$1  102 | 117 -
org.apache.activemq.activemq-core - 5.5.0 | Failed to start jmx connector:
*Cannot bind to URL [rmi://localhost:1099/jmxrmi]:
javax.naming.NoInitialContextException: Unable to determine caller's
BundleContext*


Thanks
Matt


--
View this message in context: http://karaf.922171.n3.nabble.com/Karaf-ActiveMQ-Defining-Queues-tp3589527p3592715.html
Sent from the Karaf - User mailing list archive at Nabble.com.

Re: Karaf+ActiveMQ Defining Queues

Posted by Andreas Pieber <an...@gmail.com>.
I'm not familiar enough with the setup process to say that it is not
possible, but I do all my amq setup via blueprint (or spring if you prefer)
and drop them either into the deploy folder or deploy them as a bundle. [1]
shows a simple example how this can look like (bundle deploy).

Kind regards,
Andreas

[1]
https://github.com/openengsb/openengsb-framework/blob/master/infrastructure/jms/src/main/resources/OSGI-INF/blueprint/openengsb-broker-context.xml

On Thu, Dec 15, 2011 at 19:49, Matt Madhavan <ma...@gmail.com> wrote:

> Hello,
> I would like to define Queues and Topics in ActiveMQ running inside Karaf.
> I'm used to defining them in activemq.xml.
>
> Where can I find this file in Karaf? Is there any other (better) way of
> defining Queues and Topics instead of defining from the Karaf console?
>
> Thanks
> Matt
>
> --
> View this message in context:
> http://karaf.922171.n3.nabble.com/Karaf-ActiveMQ-Defining-Queues-tp3589527p3589527.html
> Sent from the Karaf - User mailing list archive at Nabble.com.
>