This is an automated email from the ASF dual-hosted git repository.
apupier pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-jbang-examples.git
The following commit(s) were added to refs/heads/main by this push:
new 6960416 fix: indent to continue number list
6960416 is described below
commit 69604165754daf5d855ae07754db806f4f3fcfeb
Author: cjmamo <[email protected]>
AuthorDate: Tue Feb 25 09:17:57 2025 +0100
fix: indent to continue number list
---
edi-x12-as2/README.adoc | 50 ++++++++++++++++++++++++-------------------------
1 file changed, 25 insertions(+), 25 deletions(-)
diff --git a/edi-x12-as2/README.adoc b/edi-x12-as2/README.adoc
index fd5cd7c..e170e2d 100644
--- a/edi-x12-as2/README.adoc
+++ b/edi-x12-as2/README.adoc
@@ -13,34 +13,34 @@ include::../install.adoc[see installation]
== How to run
1. Run the Camel integration from the terminal with:
-+
-[source,shell].camel-jbang/
-.citrus-jbang/
-----
-cd camel && camel run *
-----
-2. From another terminal window, send an X12 850 purchase order to the AS2
Camel endpoint, or better yet, dispatch the message from Camel JBang as shown
next:
-+
-[source,shell]
-----
-camel cmd send --body="$(cat test/payload.edi)"
--endpoint="as2:client/send?inBody=ediMessage&targetHostName=localhost&targetPortNumber=8081&ediMessageContentType=application/edi-x12;charset=US-ASCII&as2From=acme&as2To=mycorp&[email protected]&requestUri=/mycorp/orders&subject=Purchase
Order&as2MessageStructure=PLAIN"
-----
+ [source,shell].camel-jbang/
+ .citrus-jbang/
+ ----
+ cd camel && camel run *
+ ----
-The above command will send an AS2 message where the body is read from the
local file named `payload.edi`. The message is sent to the running Camel
integration that will process the AS2 message. The Camel integration will then
consume the payload and print to the console:
+2. From another terminal window, send an X12 850 purchase order to the AS2
Camel endpoint, or better yet, dispatch the message from Camel JBang as shown
next:
-[source,text]
-----
-Received functional ack:
-ISA*00* *00* *ZZ*MYCORP *ZZ*ACME
*250108*0821*U*00204*000000264*1*T*>~
-GS*FA*MYCORP*ACME*20250108*082104*000000001*X*004010~
-ST*997*0001~
-AK1*850*000000001~
-AK9*A~
-SE*4*0001~
-GE*1*000000001~
-IEA*1*000000264~
-----
+ [source,shell]
+ ----
+ camel cmd send --body="$(cat test/payload.edi)"
--endpoint="as2:client/send?inBody=ediMessage&targetHostName=localhost&targetPortNumber=8081&ediMessageContentType=application/edi-x12;charset=US-ASCII&as2From=acme&as2To=mycorp&[email protected]&requestUri=/mycorp/orders&subject=Purchase
Order&as2MessageStructure=PLAIN"
+ ----
+
+ The above command will send an AS2 message where the body is read from the
local file named `payload.edi`. The message is sent to the running Camel
integration that will process the AS2 message. The Camel integration will then
consume the payload and print to the console:
+
+ [source,text]
+ ----
+ Received functional ack:
+ ISA*00* *00* *ZZ*MYCORP *ZZ*ACME
*250108*0821*U*00204*000000264*1*T*>~
+ GS*FA*MYCORP*ACME*20250108*082104*000000001*X*004010~
+ ST*997*0001~
+ AK1*850*000000001~
+ AK9*A~
+ SE*4*0001~
+ GE*1*000000001~
+ IEA*1*000000264~
+ ----
== Integration testing