Originally posted by Mark Thompson
Clovertechies,
I have an application that would like to receive a specific startup message whenever we bring up our Cloverleaf connection.
Sounds easy, I thought -- just take all the message creation logic I normally use in the run section and move it up to the start section of my tps proc. I even remembered the normal gotcha's like set the SOURCECONN to the current thread so the process doesn't hang & set the DESTCONN to the current thread so the message has somewhere to go.
With the engine noise turned up all the way, I can see that the messasge is created but never sent. It's message ID is freed as soon as the tps processing completes.
Does someone know the magic formula to get a message sent from the startup tps on an outbound thread?