apupier commented on PR #143:
URL: https://github.com/apache/camel-examples/pull/143#issuecomment-2801526675
for As2Test failure:
```
Message History (source location and message history is disabled)
---------------------------------------------------------------------------------------------------------------------------------------
Source ID
Processor Elapsed (ms)
triger-clients-route/triger-cl
from[timer://init?repeatCount=1] 64
...
enveloped-compressed-message-r
as2://client/send?inBody=ediMessage&targetHostname 0
Stacktrace
---------------------------------------------------------------------------------------------------------------------------------------
org.apache.camel.RuntimeCamelException: Error invoking send with
{server=Camel AS2 Server Endpoint, apiName=CLIENT, as2Version=1.1,
as2MessageStructure=ENCRYPTED_COMPRESSED,
encryptingCertificateChain=[Ljava.security.cert.Certificate;@5bcfdc8d,
ediMessageTransferEncoding=7bit, subject=Enveloped and Compressed AS2 Message
Example, httpConnectionPoolTtl=PT15M, signingPrivateKey=RSA Private CRT Key
[37:cd:fa:0a:e5:51:59:95:5d:13:d5:1d:90:68:48:3c:b2:cf:43:04],[56:66:d1:a4]
modulus:
e493a1d5cfa582f2de7b11ec5db9100639ea99d4109c166d7243d10dd58607103dffeca5a00f40105d23649b134e365dd336da15264f611d19500a16f9182b165bba0459a587be3bd2af2f0cf897102cbcd13c236e7cd8d57ebbfb0c30a658a0f7b67802db787c1e23e1e9fdd33073c8454a340325a46b15bc7be8139a0d3c4d
public exponent: 10001
, signedReceiptMicAlgorithms=sha1,md5,
ediMessage=UNB+UNOA:1+005435656:1+006415160:1+060515:14.12.0-SNAPSHOT0000000000778'
UNH+00000000000117+INVOIC:D:97B:UN'
BGM+380+342459+9'
DTM+3:20060515:102'
RFF+ON:521052'
NAD+BY+792820524::16++CUMMINS MID-RANGE ENGINE PLANT'
NAD+SE+005435656::16++GENERAL WIDGET COMPANY'
CUX+1:USD'
LIN+1++157870:IN'
IMD+F++:::WIDGET'
QTY+47:1020:EA'
ALI+US'
MOA+203:1202.58'
PRI+INV:1.179'
LIN+2++157871:IN'
IMD+F++:::DIFFERENT WIDGET'
QTY+47:20:EA'
ALI+JP'
MOA+203:410'
PRI+INV:20.5'
UNS+S'
MOA+39:2137.58'
ALC+C+ABG'
MOA+8:525'
UNT+23+00000000000117'
UNZ+1+00000000000778', as2To=878051556, as2From=878051556,
targetHostname=localhost, httpConnectionPoolSize=5, [email protected],
serverFqdn=camel.apache.org, [email protected],
httpSocketTimeout=PT5S, encryptingAlgorithm=AES128_CBC,
ediMessageContentType=application/edifact; charset=US-ASCII, methodName=send,
userAgent=Camel AS2 Client Endpoint, requestUri=/, clientFqdn=camel.apache.org,
decryptingPrivateKey=RSA Private CRT Key
[37:cd:fa:0a:e5:51:59:95:5d:13:d5:1d:90:68:48:3c:b2:cf:43:04],[56:66:d1:a4]
modulus:
e493a1d5cfa582f2de7b11ec5db9100639ea99d4109c166d7243d10dd58607103dffeca5a00f40105d23649b134e365dd336da15264f611d19500a16f9182b165bba0459a587be3bd2af2f0cf897102cbcd13c236e7cd8d57ebbfb0c30a658a0f7b67802db787c1e23e1e9fdd33073c8454a340325a46b15bc7be8139a0d3c4d
public exponent: 10001
, signingAlgorithm=SHA512WITHRSA, compressionAlgorithm=ZLIB,
httpConnectionTimeout=PT5S,
signingCertificateChain=[Ljava.security.cert.Certificate;@7e933785,
targetPortNumber=8888}: argument type mismatch
at
org.apache.camel.support.component.ApiMethodHelper.invokeMethod(ApiMethodHelper.java:532)
~[camel-support-4.12.0-SNAPSHOT.jar:4.12.0-SNAPSHOT]
at
org.apache.camel.support.component.AbstractApiProducer.doInvokeMethod(AbstractApiProducer.java:122)
~[camel-support-4.12.0-SNAPSHOT.jar:4.12.0-SNAPSHOT]
at
org.apache.camel.support.component.AbstractApiProducer$1.run(AbstractApiProducer.java:89)
[camel-support-4.12.0-SNAPSHOT.jar:4.12.0-SNAPSHOT]
at
java.base/java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
[?:?]
at java.base/java.util.concurrent.FutureTask.run(Unknown Source) [?:?]
at
java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown
Source) [?:?]
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown
Source) [?:?]
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown
Source) [?:?]
at java.base/java.lang.Thread.run(Unknown Source) [?:?]
Caused by: java.lang.IllegalArgumentException: argument type mismatch
at
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
~[?:?]
at
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
~[?:?]
at
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
Source) ~[?:?]
at java.base/java.lang.reflect.Method.invoke(Unknown Source) ~[?:?]
at
org.apache.camel.support.component.ApiMethodHelper.invokeMethod(ApiMethodHelper.java:521)
~[camel-support-4.12.0-SNAPSHOT.jar:4.12.0-SNAPSHOT]
... 8 more
```
```
org.opentest4j.AssertionFailedError: 8 messages should be received by the
AS2 server ==> expected: <true> but was: <false>
at
org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:151)
at
org.junit.jupiter.api.AssertionFailureBuilder.buildAndThrow(AssertionFailureBuilder.java:132)
at org.junit.jupiter.api.AssertTrue.failNotTrue(AssertTrue.java:63)
at org.junit.jupiter.api.AssertTrue.assertTrue(AssertTrue.java:36)
at org.junit.jupiter.api.Assertions.assertTrue(Assertions.java:214)
at
org.apache.camel.example.as2.As2Test.should_consume_and_produce_as2_messages(As2Test.java:45)
at java.base/java.lang.reflect.Method.invoke(Unknown Source)
at java.base/java.util.ArrayList.forEach(Unknown Source)
at java.base/java.util.ArrayList.forEach(Unknown Source)
```
```
org.opentest4j.AssertionFailedError: 8 messages should be received by the
AS2 server ==> expected: <true> but was: <false>
at
org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:151)
at
org.junit.jupiter.api.AssertionFailureBuilder.buildAndThrow(AssertionFailureBuilder.java:132)
at org.junit.jupiter.api.AssertTrue.failNotTrue(AssertTrue.java:63)
at org.junit.jupiter.api.AssertTrue.assertTrue(AssertTrue.java:36)
at org.junit.jupiter.api.Assertions.assertTrue(Assertions.java:214)
at
org.apache.camel.example.as2.As2Test.should_consume_and_produce_as2_messages(As2Test.java:45)
at java.base/java.lang.reflect.Method.invoke(Unknown Source)
at java.base/java.util.ArrayList.forEach(Unknown Source)
at java.base/java.util.ArrayList.forEach(Unknown Source)
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]