- We will begin by configuring our messaging service in GlassFish 5. Once the server is up and running, go to this URL:
http://localhost:8080
- Now click on the go to the Administration Console link or if you prefer, go straight to the URL at:
http://localhost:4848/
Then follow this path in the left menu:
Resources | JMS Resources | Connection Factories
- Click on the New button. When the page is opened, fill the General Settings section fields like this:
- JNDI Name: jms/JmsFactory
- Resource Type: javax.jms.ConnectionFactory
We will not touch the Pool Settings section here, so just click on the OK button to register your new factory.
- Now follow this path in the left menu:
Resources | JMS Resources | Destination Resources ...