Publishing two documents with identical information but of
two different document types will work. However, it will
increase the work you will have to perform if and when
changes occur. It also increases the complexity of the
system and will confuse other subscribers as to which
document type to subscribe to.
Would you mind elaborating on the reason why performing both
actions in the same integration is not a viable solution in
your scenario?
If you really don’t want to perform both action in a single
integration, for whatever reason, it would indicate the need
for two separate adapters, each of which will have its own
integration component triggered by the same document, which
is exactly what Rob’s first suggestion was.
If the drive for separate int.comps is separation of
business logic, then you can accomplish that by extracting
the logic for both actions into scripted operations. In
this case the int.comp is just the construct which calls
both scripted operations.
Rgs,
Andreas
#broker#Universal-Messaging-Broker#Integration-Server-and-ESB#webMethods