Wiki
Clone wikidevoops / Oracle WebLogic 12c Notes
How to Create a JMS Queue for Dummies
All steps take place in WebLogic Server (WLS) Administration Console.
Create JMS Server
Create a server for each managed node in the cluster. Post-fix the server name with _N
where N
is the running number of the managed node this server will be targeted.
Navigation:
Home > Services > Messaging > JMS Servers > New Name: <TestJMSServer_1> Target: <the managed WebLogic server>
Create JMS Module
Navigation:
Home > Services > Messaging > JMS Modules > New Name: <TestJMSModule> Targets: <the managed WebLogic server>
Create Subdeployment
Navigation:
Home > Services > Messaging > JMS Modules > <module> > Subdeployments > New Subdeployment Name: <TestJMSServerSubDep> Targets: <the JMS servers created earlier>
Create JMS Connection Factory
Navigation:
Home > Services > Messaging > JMS Modules > <module> > New Choose the type of resource you want to create: Connection Factory Name: <TestJMSConnectionFactory> JNDI Name: <jms/TestJMSConnectionFactory> Advanced Targeting > Subdeployments: <select previously created subdeployment>
Create JMS Queue
Navigation:
Home > Services > Messaging > JMS Modules > <module> > New Choose the type of resource you want to create: Distributed Queue Name: <TestJMSQueue> JNDI Name: <jms/TestJMSQueue> Advanced Targeting > Subdeployments: <select previously created subdeployment>
How To Monitor JMS Queue Content
In WebLogic Server (WLS) Administration Console.
Navigation:
Home > Services > Messaging > JMS Modules > <module> > Monitoring > <select queue> > Show Messages
How To Control JMS Queue Production/Consumption
In WebLogic Server (WLS) Administration Console.
Navigation:
Home > Services > Messaging > JMS Servers > <server> > Control > <select server> > Production / Consumption / Insertion
How To Create an Oracle Database Connection
All steps take place in WebLogic Server (WLS) Administration Console.
How To Create a Data Source
Navigation:
Home > Services > Data Sources > New > Generic Data Source Name: <DBNAME> JNDI Name: jdbc/<DBNAME> Database Type: Oracle Database Driver: *Oracle's Driver (Thin) for Service connections; Versions:Any Add database connection details Target to all servers in the cluster
How To Create a Connection Pool
Navigation:
Home > Deployments > DbAdapter > Configuration > Outbound Connection Pools > New Select outbound connection group JNDI Name: eis/DB/<DBNAME> Select eis/DB/<DBNAME> Set outbound connection property: XADataSourceName: jdbc/<DBNAME>
How To Update Database Adapter
Navigation:
Home > Deployments > select "DbAdapter" > Update > select "Update this application in place with new deployment plan changes."
Updated