You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+8-2Lines changed: 8 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,6 +2,12 @@
2
2
3
3
This Java web application demonstrates how to emit and consume CICS events in Java using the JCICS API.
4
4
5
+
## Overview
6
+
7
+
This sample shows how to consume and emit CICS events using Java code. Events are emitted from a Java EE servlet using the JCICS Event API, equivalent to an `EXEC CICS SIGNAL EVENT` call. This event is processed by CICS event processing and is handled by an event processing adapter. This adapter is configured to call the CICS program `EVNTCONS` when an event is received.
8
+
9
+
The CICS program `EVNTCONS` is a Java EE program designed to consume CICS events and, in this basic sample, log that an event was received to STDOUT.
10
+
5
11
## Requirements
6
12
7
13
* CICS TS V5.3 or later
@@ -12,7 +18,7 @@ This Java web application demonstrates how to emit and consume CICS events in Ja
12
18
13
19
## Structure
14
20
15
-
The project consists of two Maven modules:
21
+
The project consists of two parts:
16
22
17
23
1. cics-eventprocessing-java-webapp - the Java source code for this example
18
24
2. cics-eventprocessing-java-bundle - the bundle definition for this example
@@ -54,7 +60,7 @@ This will compile the Java code, build a WAR file and package it and the EP adap
54
60
Run the following command from the `cics-eventprocessing-java` directory:
55
61
56
62
```sh
57
-
mvn verify
63
+
./mvnw verify
58
64
```
59
65
60
66
This will compile the Java code, build a WAR file and package it and the EP adapter and Event binding into a CICS bundle as a ZIP file at `./cics-eventprocessing-java-bundle/target/cics-eventprocessing-java-bundle-0.0.1-SNAPSHOT.zip`
0 commit comments