>Correct, you cannot use a static handle for <stafcmd> elements in a STAX
job.  If you want to queue messages to a process, then the >recommended
method is to use the <process-action> element .

But, what if I want to create only one process and queue it the multiple
messages one by one, as REQUEST which this process executes and sends back
the RESPONSE. Based on this response I get back in XML job, I decide to send
another REQUEST. In this scenario the <process-action> does not fit
appropriately as it cannot be called independently and can only be called
with <process> element. Or, I decide to send all REQUESTS in one chunk using
<process-action> but this is certainly I'm not trying to achieve.

As you can see in my previous mail, I'm intending to run only a single
instance of Python (via STDIN python program). And, in future I also wish to
achieve the same functionality on remote test machine.

My Python program just works fine. It can register itself with the static
handle, send and receive messages on queue using the same static handle. Its
just the XML that's causing these problems.

Has there been any implementation lately using this scenario.?

Thanks.
Rajat
------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
staf-users mailing list
staf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/staf-users

Reply via email to