You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by nf...@apache.org on 2023/09/01 15:52:45 UTC
[camel] branch CAMEL-19731/fix-compilation-error-3.20 created (now 3f23c6d6c42)
This is an automated email from the ASF dual-hosted git repository.
nfilotto pushed a change to branch CAMEL-19731/fix-compilation-error-3.20
in repository https://gitbox.apache.org/repos/asf/camel.git
at 3f23c6d6c42 CAMEL-19731: AS2 - Set the correct application entity class
This branch includes the following new commits:
new 3f23c6d6c42 CAMEL-19731: AS2 - Set the correct application entity class
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
[camel] 01/01: CAMEL-19731: AS2 - Set the correct application entity class
Posted by nf...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
nfilotto pushed a commit to branch CAMEL-19731/fix-compilation-error-3.20
in repository https://gitbox.apache.org/repos/asf/camel.git
commit 3f23c6d6c42b0cd47b2426c6ddca8e551082ecc8
Author: Nicolas Filotto <nf...@talend.com>
AuthorDate: Fri Sep 1 17:52:23 2023 +0200
CAMEL-19731: AS2 - Set the correct application entity class
---
.../test/java/org/apache/camel/component/as2/AS2ClientManagerIT.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/components/camel-as2/camel-as2-component/src/test/java/org/apache/camel/component/as2/AS2ClientManagerIT.java b/components/camel-as2/camel-as2-component/src/test/java/org/apache/camel/component/as2/AS2ClientManagerIT.java
index 30ef86d8020..d174e64c8ee 100644
--- a/components/camel-as2/camel-as2-component/src/test/java/org/apache/camel/component/as2/AS2ClientManagerIT.java
+++ b/components/camel-as2/camel-as2-component/src/test/java/org/apache/camel/component/as2/AS2ClientManagerIT.java
@@ -340,8 +340,8 @@ public class AS2ClientManagerIT extends AbstractAS2ITSupport {
assertTrue(request instanceof HttpEntityEnclosingRequest, "Request does not contain body");
HttpEntity entity = ((HttpEntityEnclosingRequest) request).getEntity();
assertNotNull(entity, "Request body");
- assertTrue(entity instanceof ApplicationEntity, "Request body does not contain EDI entity");
- String ediMessage = ((ApplicationEntity) entity).getEdiMessage();
+ assertTrue(entity instanceof ApplicationEDIEntity, "Request body does not contain EDI entity");
+ String ediMessage = ((ApplicationEDIEntity) entity).getEdiMessage();
assertEquals(EDI_MESSAGE.replaceAll("[\n\r]", ""), ediMessage.replaceAll("[\n\r]", ""), "EDI message is different");
assertNotNull(response, "Response");