-
Notifications
You must be signed in to change notification settings - Fork 151
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
SAFMonitor split into its own module
People using just SAF without SAFMonitor doesn't need to carry all SAFMonitor's dependencies.
- Loading branch information
Showing
6 changed files
with
35 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
description = 'jPOS-EE :: Store and Forward (SAF) Monitor Module' | ||
|
||
dependencies { | ||
compile project(':modules:saf') | ||
compile project(':modules:status') | ||
} | ||
|
File renamed without changes.
17 changes: 17 additions & 0 deletions
17
modules/saf-monitor/src/main/resources/META-INF/q2/installs/deploy/20_saf.xml.sample
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<saf name='saf' logger='Q2' realm='saf' class='org.jpos.saf.SAF'> | ||
<property name='space' value='jdbm:saf' /> | ||
<property name='mux' value='mux' /> | ||
<property name='flag-retransmissions' value='no'> | ||
if MTI is in list, messages would be retransmitted as xxx1 | ||
</property> | ||
<property name='initial-delay' value='60000' /> | ||
<property name='inter-message-delay' value='1000' /> | ||
<property name='wait-for-response' value='60000' /> | ||
<property name='max-retransmissions' value='1000' /> | ||
<property name='expire-after' value='86400'> | ||
in seconds | ||
</property> | ||
<property name='valid-response-codes' value='*' /> | ||
<property name='retry-response-codes' value='91,ZZ' /> | ||
</saf> | ||
|
9 changes: 9 additions & 0 deletions
9
modules/saf-monitor/src/main/resources/META-INF/q2/installs/deploy/95_saf_monitor.xml.sample
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
|
||
<saf-monitor class='org.jpos.ee.status.Monitor' logger='Q2'> | ||
<monitor id="SAF" delay='10000' period='30000'> | ||
<class>org.jpos.saf.SAFMonitor</class> | ||
<property name='saf' value='saf' /> | ||
</monitor> | ||
</saf-monitor> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters