Configuring Distributed Topic on Weblogic Server

A distributed topic is a set of physical JMS topic members. As such, a distributed topic can be used to create a TopicPublisher and TopicSubscriber. The fact that a distributed topic represents multiple physical topics is mostly transparent to the application. Note: Durable subscribers (DurableTopicSubscriber) cannot be created for distributed

Continue reading »

JBoss JMS Queue configuration

Configuring JMS providers in JBoss:- ******************************** The below example demonstrates a JMS example using Queue Destination (Point – To – Point messaging feature) using the JBoss default Queue. JBoss defines default JMS queue and Topic Destination defined in $JBOSS_HOME/server/<server-profile>/deploy/messaging/ destinations-service.xml. You can add/remove destinations to this file, or deploy another

Continue reading »

JMS Resources using JMX

import java.io.IOException; import java.net.MalformedURLException; import java.util.ArrayList; import java.util.HashMap; import java.util.Hashtable; import java.util.Iterator; import javax.management.MBeanServerConnection; import javax.management.MalformedObjectNameException; import javax.management.ObjectName; import javax.management.remote.JMXConnector; import javax.management.remote.JMXConnectorFactory; import javax.management.remote.JMXServiceURL; import javax.naming.Context; import javax.naming.InitialContext; import weblogic.j2ee.descriptor.wl.JMSBean; import weblogic.j2ee.descriptor.wl.JMSConnectionFactoryBean; import weblogic.j2ee.descriptor.wl.QueueBean; import weblogic.jms.extensions.JMSModuleHelper; import weblogic.management.configuration.JMSSystemResourceMBean; public class JMSResource { private static MBeanServerConnection connection; private static JMXConnector connector;

Continue reading »