https://github.com/coder-shankar/jee_demo
https://github.com/coder-shankar/jee_demo
Last synced: 9 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/coder-shankar/jee_demo
- Owner: coder-shankar
- Created: 2019-04-08T15:17:21.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2022-11-15T23:48:10.000Z (over 3 years ago)
- Last Synced: 2025-10-19T21:47:32.474Z (9 months ago)
- Language: Java
- Size: 785 KB
- Stars: 1
- Watchers: 0
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
#### Configuration for JMS /ActiveMQ
The project uses JMS to demonstrate sending and receiving messages asynchronously. Wildfly full profile must be used.
To start Wildfly server use the following command:
```
$ standalone.sh -c standalone-full.xml
```
A JMS queue must be added before deploying the application. To add a JMS queue, use the following commands. The first
command connects to a running Wildfly server and the second creates a queue. Note: The JNDI name must match the name in
the code.
```
$ jboss-cli.sh --connect
[standalone@localhost:9990 /] jms-queue add --queue-address=myQueue --entries=java:/jms/myapp/myqueue
[standalone@localhost:9990 /] quit
```