Search This Blog

Monday, 1 February 2021

Configuring JMS Servers and Destinations

 Step 1) Configure JMS Server with the following specifications:

Name: JMSServer_1
Persistant Store: (none)

Services à Messaging à JMS Servers











Step 2) Configure a JMS module and add a queue and a topic to the JMS module according to the following specifications:

JMS Module

NamedizzyworldModule
Descriptor File NamedizzyworldModule

TargetManagedServer_1

 

SubDeployment
Subdeployment Name
dizzy1SubDeployment

Targets: ManagedServer_1, JMSServer_1

 

Queue
NamedizzyworldQueue

JNDI NamedizzyworldQueue

TemplateNone

TargetJMSServer_1

 

Topic
NamedizzyworldTopic

JNDI NamedizzyworldTopic

Template: None
TargetJMSServer_1


 Services à Messaging à JMS Modules


Create  a JMS Module

















Create a Sub Deployment









Create a Queue














Create a Topic













Step 3) Deploy messaging.war application





















Step 4) Test the Application on ManagedServer_1 as we deployed all JMS resources on ManagedServer_1






http://192.168.1.196:9002/messaging/




Login to the console and verify the message details in the Queue








Post the message to the Topic







Note: On the Topic (Unlike the Queue) , messages do not appear to be getting stored. This is because we do not have any durable subscribers registered for this topic.







No comments: