You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomee.apache.org by sureshshine <su...@gmail.com> on 2016/07/15 13:02:58 UTC
Integrate ActiveMQ web console with TomEE Plus
Hi All ,
I integrated ActiveMQ Web Console with TomEE+ and I am able to access the
web console.
I added the below queue in tomee.xml and the queue ContactQueue1 was not
available in the ActiveMQ web console.
<Resource id="MyJmsResourceAdapter" type="ActiveMQResourceAdapter">
BrokerXmlConfig = broker:(tcp://localhost:61616)?useJmx=true
ServerUrl = tcp://localhost:61616
</Resource>
<Resource id="MyJmsConnectionFactory"
type="javax.jms.ConnectionFactory">
ResourceAdapter = MyJmsResourceAdapter
</Resource>
<Container id="MyJmsMdbContainer" ctype="MESSAGE">
ResourceAdapter = MyJmsResourceAdapter
</Container>
<Resource id="ContactQueue1" type="javax.jms.Queue"/>
<Resource id="ContactTopic1" type="javax.jms.Topic"/>
If I create a queue for both producer and consumer through Java console
Program then the queue was created and available in the ActiveMQ Web
Console. ( Ex - Destination adminQueue =
session.createQueue(clientQueueName);)
Please let me know why the ContactQueue1 was not available in the Web
Console ? Am I Missed anything ?
Thanks in Advance
Suresh
--
View this message in context: http://tomee-openejb.979440.n4.nabble.com/Integrate-ActiveMQ-web-console-with-TomEE-Plus-tp4679322.html
Sent from the TomEE Users mailing list archive at Nabble.com.
Re: Integrate ActiveMQ web console with TomEE Plus
Posted by Romain Manni-Bucau <rm...@gmail.com>.
Set the system property webconsole.type to invm or the context classifier
you want in webconsole/WEB-INF ( see webconsole-*.xml in
https://github.com/apache/activemq/tree/master/activemq-web-console/src/main/webapp/WEB-INF
)
Romain Manni-Bucau
@rmannibucau <https://twitter.com/rmannibucau> | Blog
<https://blog-rmannibucau.rhcloud.com> | Old Wordpress Blog
<http://rmannibucau.wordpress.com> | Github <https://github.com/rmannibucau> |
LinkedIn <https://www.linkedin.com/in/rmannibucau> | Tomitriber
<http://www.tomitribe.com> | JavaEE Factory
<https://javaeefactory-rmannibucau.rhcloud.com>
2016-07-18 11:54 GMT+02:00 sureshshine <su...@gmail.com>:
> Hi ,
>
> Could you please let me know where to configure in TomEE+ ? Please share
> the
> configuration as well.
>
> I have a query , ActiveMQ jars has both the TomEE+ /lib and ActiveMQ Web
> Console war /lib , which one should be take for ActiveMQ. I am Confusing.
> Please help me.
>
> Thanks
>
>
>
> --
> View this message in context:
> http://tomee-openejb.979440.n4.nabble.com/Integrate-ActiveMQ-web-console-with-TomEE-Plus-tp4679322p4679368.html
> Sent from the TomEE Users mailing list archive at Nabble.com.
>
Re: Integrate ActiveMQ web console with TomEE Plus
Posted by sureshshine <su...@gmail.com>.
Hi ,
Could you please let me know where to configure in TomEE+ ? Please share the
configuration as well.
I have a query , ActiveMQ jars has both the TomEE+ /lib and ActiveMQ Web
Console war /lib , which one should be take for ActiveMQ. I am Confusing.
Please help me.
Thanks
--
View this message in context: http://tomee-openejb.979440.n4.nabble.com/Integrate-ActiveMQ-web-console-with-TomEE-Plus-tp4679322p4679368.html
Sent from the TomEE Users mailing list archive at Nabble.com.
Re: Integrate ActiveMQ web console with TomEE Plus
Posted by sureshshine <su...@gmail.com>.
Could you please let me know where to configure in TomEE+ ?
--
View this message in context: http://tomee-openejb.979440.n4.nabble.com/Integrate-ActiveMQ-web-console-with-TomEE-Plus-tp4679322p4679367.html
Sent from the TomEE Users mailing list archive at Nabble.com.
Re: Integrate ActiveMQ web console with TomEE Plus
Posted by Romain Manni-Bucau <rm...@gmail.com>.
Hi
Did you configure web console context to reuse tomee AMQ? It needs to
select the right spring context IIRC setting a system property.
Le 16 juil. 2016 13:26, "sureshshine" <su...@gmail.com> a écrit :
> Hi All ,
>
> I integrated ActiveMQ Web Console with TomEE+ and I am able to access the
> web console.
>
> I added the below queue in tomee.xml and the queue ContactQueue1 was not
> available in the ActiveMQ web console.
>
> <Resource id="MyJmsResourceAdapter" type="ActiveMQResourceAdapter">
> BrokerXmlConfig = broker:(tcp://localhost:61616)?useJmx=true
> ServerUrl = tcp://localhost:61616
> </Resource>
>
> <Resource id="MyJmsConnectionFactory"
> type="javax.jms.ConnectionFactory">
> ResourceAdapter = MyJmsResourceAdapter
> </Resource>
>
> <Container id="MyJmsMdbContainer" ctype="MESSAGE">
> ResourceAdapter = MyJmsResourceAdapter
> </Container>
>
> <Resource id="ContactQueue1" type="javax.jms.Queue"/>
> <Resource id="ContactTopic1" type="javax.jms.Topic"/>
>
> If I create a queue for both producer and consumer through Java console
> Program then the queue was created and available in the ActiveMQ Web
> Console. ( Ex - Destination adminQueue =
> session.createQueue(clientQueueName);)
>
> Please let me know why the ContactQueue1 was not available in the Web
> Console ? Am I Missed anything ?
>
> Thanks in Advance
>
> Suresh
>
>
>
>
> --
> View this message in context:
> http://tomee-openejb.979440.n4.nabble.com/Integrate-ActiveMQ-web-console-with-TomEE-Plus-tp4679322.html
> Sent from the TomEE Users mailing list archive at Nabble.com.
>