This is simple example of JMS technology on Oracle Weblogic server. See the original article. Also jms-related materials:
- What's New in JMS 2.0, Part One: Ease of Use
- Н.Алименков vs JMS (о граблях JMS)
If you want to run this example, please perform steps below:
- Download GitHub project;
- Install JDK 8;
- Install Oracle WebLogic
- Create domain, jms server, etc on WebLogic.
- Start domain (
cd weblogic/wls12210/user_projects/domains/<your_domain>/bin/startWebLogic.cmd) - Build project. Call
gradle buildincmd - Run the
examples.jms.queue.QueueSendandexamples.jms.queue.QueueReceiveas general java classes;
- JMS 1.2;
- Oracle WebLogic server;
- Gradle (build system);
- PMD (code rules validation);
New POST request to url https://hooks.slack.com/services/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
with text
{
"text": "<...>"
}Have a fun.