You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by Dil <di...@gmail.com> on 2008/04/09 13:09:38 UTC
Web console for broker with a name
I have created a broker programatically in java code with name fred. i.e,
vm:fred producer consumer seem to be working fine, how do i configure
webconsole to observe queues for this broker.
here is some code of broker:
public class ProdConnection {
public static final ActiveMQConnectionFactory connectionFactory = new
ActiveMQConnectionFactory("vm://fred");
public static ActiveMQConnectionFactory getFactory(){
connectionFactory.setUseCompression(false);
connectionFactory.setUseAsyncSend(true);
connectionFactory.setProducerWindowSize(1024);
connectionFactory.setObjectMessageSerializationDefered(true);
connectionFactory.setOptimizeAcknowledge(true);
return connectionFactory;
}
Regards,
Dilraj
--
View this message in context: http://www.nabble.com/Web-console-for-broker-with-a-name-tp16584339s2354p16584339.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.
Re: Web console for broker with a name
Posted by Dejan Bosanac <de...@nighttale.net>.
Hi,
you can take a look at this article
http://www.nighttale.net/onjava/integrating-activemq-web-console.html
it might help
Cheers
--
Dejan Bosanac
www.scriptinginjava.net
On Wed, Apr 9, 2008 at 1:09 PM, Dil <di...@gmail.com> wrote:
>
> I have created a broker programatically in java code with name fred. i.e,
> vm:fred producer consumer seem to be working fine, how do i configure
> webconsole to observe queues for this broker.
>
> here is some code of broker:
> public class ProdConnection {
> public static final ActiveMQConnectionFactory connectionFactory =
> new
> ActiveMQConnectionFactory("vm://fred");
>
> public static ActiveMQConnectionFactory getFactory(){
> connectionFactory.setUseCompression(false);
> connectionFactory.setUseAsyncSend(true);
> connectionFactory.setProducerWindowSize(1024);
>
> connectionFactory.setObjectMessageSerializationDefered(true);
> connectionFactory.setOptimizeAcknowledge(true);
> return connectionFactory;
> }
>
>
> Regards,
> Dilraj
> --
> View this message in context:
> http://www.nabble.com/Web-console-for-broker-with-a-name-tp16584339s2354p16584339.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>
>
<http://www.scriptinginjava.net>