For my project, I'm working with the JMS connector. The PDF on connectors is clear enough and everything works, but I notice one small flaw: lack of abstraction.
In an ideal XA-world, I would not have to know where my
BizDocument is on the server and how it is called there. I would like to have some kind of discovery (web)service that I could query if certain transformation are available.
For example:
I would like to transform AA-
XML to BB-xml. With the current implementation, I have execute contextpath/AAtoBBxml.xbd. With the service I would call (maybe with the possibility to specify the source and target format as parameters)
http://xawareserver:8090/xaware/discovery
The return value would be a list with implementations. Something like:
1. AAtoBB.xbd
2. newversion/AAtoBB.xbd
3.
Beta/AAtoBB.xbd
etc.
This would allow for a next step in abstraction of the connector code which would improve consistency of the code throughout newer features/versions.