When creating a BC with the Petals Maven plug-in, the jbi.xml of the created component contains the following sequence.
<petalsCDK:jbi-listener-class-name>org.ow2.petals.bc.t.listeners.JBIListener</petalsCDK:jbi-listener-class-name>
<petalsCDK:external-listener-class-name>org.ow2.petals.bc.t.listeners.ExternalListener</petalsCDK:external-listener-class-name>
With respect to the XML schema defined in the CDK, this sequence sub-set is invalid.
These two parameters should be written in the reverse order. This is the case for all the jbi.xml of Petals components.
The problem is also that the CDK does not throw an error when it finds this sequence.
There is a single bug with 3 facets:
- The CDK does not throw an error when it finds an invalid sequence of parameters.
- The Petals Maven plug-in does not generate valid jbi.xml for components.
- The jbi.xml of almost all the Petals components are invalid.