-
Notifications
You must be signed in to change notification settings - Fork 368
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CAMEL-21090: camel-as2 fix wrong header name prefix.
- Loading branch information
Showing
2 changed files
with
31 additions
and
31 deletions.
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
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 |
---|---|---|
|
@@ -69,25 +69,25 @@ UNT+23+00000000000117' | |
UNZ+1+00000000000778' | ||
</constant> | ||
</transform> | ||
<setHeader name="CamelAS2.ediMessageContentType"> | ||
<setHeader name="CamelAs2.ediMessageContentType"> | ||
<simple resultType="org.apache.hc.core5.http.ContentType">application/edifact;charset=US-ASCII</simple> | ||
</setHeader> | ||
<setHeader name="CamelAS2.ediMessageTransferEncoding"> | ||
<setHeader name="CamelAs2.ediMessageTransferEncoding"> | ||
<constant>7bit</constant> | ||
</setHeader> | ||
<setHeader name="CamelAS2.requestUri"> | ||
<setHeader name="CamelAs2.requestUri"> | ||
<constant>/</constant> | ||
</setHeader> | ||
<setHeader name="CamelAS2.from"> | ||
<setHeader name="CamelAs2.from"> | ||
<constant>[email protected]</constant> | ||
</setHeader> | ||
<setHeader name="CamelAS2.as2From"> | ||
<setHeader name="CamelAs2.as2From"> | ||
<constant>878051556</constant> | ||
</setHeader> | ||
<setHeader name="CamelAS2.as2To"> | ||
<setHeader name="CamelAs2.as2To"> | ||
<constant>878051556</constant> | ||
</setHeader> | ||
<setHeader name="CamelAS2.dispositionNotificationTo"> | ||
<setHeader name="CamelAs2.dispositionNotificationTo"> | ||
<constant>[email protected]</constant> | ||
</setHeader> | ||
<to uri="bean:provision-exchange-message-crypto"/> | ||
|
@@ -104,87 +104,87 @@ UNZ+1+00000000000778' | |
</route> | ||
<route id="plain-message-route"> | ||
<from uri="direct:plainMessage"/> | ||
<setHeader name="CamelAS2.subject"> | ||
<setHeader name="CamelAs2.subject"> | ||
<constant>AS2 Message Example</constant> | ||
</setHeader> | ||
<setHeader name="CamelAS2.as2MessageStructure"> | ||
<setHeader name="CamelAs2.as2MessageStructure"> | ||
<simple resultType="org.apache.camel.component.as2.api.AS2MessageStructure">PLAIN</simple> | ||
</setHeader> | ||
<to | ||
uri="as2://client/send?inBody=ediMessage&targetHostname=localhost&targetPortNumber=8888&requestUri=/" /> | ||
</route> | ||
<route id="signed-message-route"> | ||
<from uri="direct:signedMessage"/> | ||
<setHeader name="CamelAS2.subject"> | ||
<setHeader name="CamelAs2.subject"> | ||
<constant>Signed AS2 Message Example</constant> | ||
</setHeader> | ||
<setHeader name="CamelAS2.as2MessageStructure"> | ||
<setHeader name="CamelAs2.as2MessageStructure"> | ||
<simple resultType="org.apache.camel.component.as2.api.AS2MessageStructure">SIGNED</simple> | ||
</setHeader> | ||
<to | ||
uri="as2://client/send?inBody=ediMessage&targetHostname=localhost&targetPortNumber=8888&requestUri=/" /> | ||
</route> | ||
<route id="enveloped-message-route"> | ||
<from uri="direct:envelopedMessage"/> | ||
<setHeader name="CamelAS2.subject"> | ||
<setHeader name="CamelAs2.subject"> | ||
<constant>Enveloped AS2 Message Example</constant> | ||
</setHeader> | ||
<setHeader name="CamelAS2.as2MessageStructure"> | ||
<setHeader name="CamelAs2.as2MessageStructure"> | ||
<simple resultType="org.apache.camel.component.as2.api.AS2MessageStructure">ENCRYPTED</simple> | ||
</setHeader> | ||
<to | ||
uri="as2://client/send?inBody=ediMessage&targetHostname=localhost&targetPortNumber=8888&requestUri=/" /> | ||
</route> | ||
<route id="enveloped-signed-message-route"> | ||
<from uri="direct:envelopedSignedMessage"/> | ||
<setHeader name="CamelAS2.subject"> | ||
<setHeader name="CamelAs2.subject"> | ||
<constant>Enveloped and Signed AS2 Message Example</constant> | ||
</setHeader> | ||
<setHeader name="CamelAS2.as2MessageStructure"> | ||
<setHeader name="CamelAs2.as2MessageStructure"> | ||
<simple resultType="org.apache.camel.component.as2.api.AS2MessageStructure">SIGNED_ENCRYPTED</simple> | ||
</setHeader> | ||
<to | ||
uri="as2://client/send?inBody=ediMessage&targetHostname=localhost&targetPortNumber=8888&requestUri=/" /> | ||
</route> | ||
<route id="compressed-plain-message-route"> | ||
<from uri="direct:compressedPlainMessage"/> | ||
<setHeader name="CamelAS2.subject"> | ||
<setHeader name="CamelAs2.subject"> | ||
<constant>Compressed AS2 Message Example</constant> | ||
</setHeader> | ||
<setHeader name="CamelAS2.as2MessageStructure"> | ||
<setHeader name="CamelAs2.as2MessageStructure"> | ||
<simple resultType="org.apache.camel.component.as2.api.AS2MessageStructure">PLAIN_COMPRESSED</simple> | ||
</setHeader> | ||
<to | ||
uri="as2://client/send?inBody=ediMessage&targetHostname=localhost&targetPortNumber=8888&requestUri=/" /> | ||
</route> | ||
<route id="compressed-signed-message-route"> | ||
<from uri="direct:compressedSignedMessage"/> | ||
<setHeader name="CamelAS2.subject"> | ||
<setHeader name="CamelAs2.subject"> | ||
<constant>Compressed and Signed AS2 Message Example</constant> | ||
</setHeader> | ||
<setHeader name="CamelAS2.as2MessageStructure"> | ||
<setHeader name="CamelAs2.as2MessageStructure"> | ||
<simple resultType="org.apache.camel.component.as2.api.AS2MessageStructure">SIGNED_COMPRESSED</simple> | ||
</setHeader> | ||
<to | ||
uri="as2://client/send?inBody=ediMessage&targetHostname=localhost&targetPortNumber=8888&requestUri=/" /> | ||
</route> | ||
<route id="enveloped-compressed-message-route"> | ||
<from uri="direct:envelopedCompressedMessage"/> | ||
<setHeader name="CamelAS2.subject"> | ||
<setHeader name="CamelAs2.subject"> | ||
<constant>Enveloped and Compressed AS2 Message Example</constant> | ||
</setHeader> | ||
<setHeader name="CamelAS2.as2MessageStructure"> | ||
<setHeader name="CamelAs2.as2MessageStructure"> | ||
<simple resultType="org.apache.camel.component.as2.api.AS2MessageStructure">ENCRYPTED_COMPRESSED</simple> | ||
</setHeader> | ||
<to | ||
uri="as2://client/send?inBody=ediMessage&targetHostname=localhost&targetPortNumber=8888&requestUri=/" /> | ||
</route> | ||
<route id="enveloped-compressed-signed-message-route"> | ||
<from uri="direct:envelopedCompressedSignedMessage"/> | ||
<setHeader name="CamelAS2.subject"> | ||
<setHeader name="CamelAs2.subject"> | ||
<constant>Enveloped, Compressed and Signed AS2 Message Example</constant> | ||
</setHeader> | ||
<setHeader name="CamelAS2.as2MessageStructure"> | ||
<setHeader name="CamelAs2.as2MessageStructure"> | ||
<simple resultType="org.apache.camel.component.as2.api.AS2MessageStructure">ENCRYPTED_COMPRESSED_SIGNED</simple> | ||
</setHeader> | ||
<to | ||
|