|
If you send a message by RefernceInvoker through a composite reference, then the message content is not present on the invoked endpoint. Another thing is that the property name is lower cased. ReferenceInvoker works well if it is used to invoke a component reference. So, these problems were maybe introduced by no-adjustment of message composers/context mappers after introduction of https://issues.jboss.org/browse/SWITCHYARD-1465.
Reproducer is attached in the bugzilla.
Steps to reproduce:
1. run AS
2. unpack reproducer
3. execute: mvn clean package jboss-as:deploy exec:java jboss-as:undeploy
Actual result:
Greetings to John Doe from ServiceA [propertyA=nulltouchedByServiceB]
Greetings to from ServiceB [propertyB=valueB]
You can also see in the server log stdout that propetyA (correct name) is not set and propertya (wrong name) is set.
Expected result:
Greetings to John Doe from ServiceA [propertyA=valueAtouchedByServiceB]
Greetings to John Doe from ServiceB [propertyB=valueB]
|