I’m never going to hear the end of System.gc() am I? 
I agree that the throughput of IS publishing is most likely not on par with Broker. For environments that need high volume message publishing, Broker is definitely the way to go. But not all installations need high volume messaging.
I agree also that if the PRT exposed a service, then calling it really is no different than calling pub.publish:publish.
However, one needs to define a document type to publish. This document type is probably in addition to the “real” document since pushing/receiving a publishable document exposes the Broker env structure, which is generally undesirable.
Consider an “adapter.” Not an ART-based component, but a logical adapter the sole purpose of which is to interact with a resource of some sort and the integration layer. This adapter needs to do some work, accepting a document via an http post or reading data from a DB or some other data gathering step, then tranform it to a common format and then finally publish it to the world (via Broker or through TN or whatever).
It may be useful to track the work this adapter does, perhaps even model its logic. Using PRT in this scenario might be appropriate as it can log the adapter’s activities and progress. To start the model, with the way things are now, the entry point of the adapter needs to publish a document–essentially to itself. This “go” document wouldn’t be of any interest to any other component as the document is most likely application/adapter specific. It is the final document (the canonical document) that the adapter produces that’s of interest.
It would seem in this case that publishing a “go” document is unnecessary. Invoking a service to kick off the model, since the model and the entry service of the adapter are tightly coupled anyway, would seem to be a preferrable approach.
That said, the notion of publishing an application-specific document to which a transformation agent subscribes, transforms and then publishes as a canonical document type has been around for a long, long time. It’s certainly a viable model, and very flexible, though relatively complex in the scheme of things.
TN is able to kick off models without publishing a document. Perhaps the knowledge of how TN accomplishes that would provide an approach that dezer can use.
#webMethods-BPMS#BPM#webMethods