event gateway handling
Hi i am using the main.cfc in the examples using the onIncomingMessage event
i am gettnig back a variable
<cfset message="#data.message#">
<!--- where did it come from? --->
<cfset orig="#CFEvent.originatorID#">
<cfset retValue = structNew()>
<cfset retValue.command = "submit">
<cfset retValue.sourceAddress = arguments.CFEVENT.gatewayid>
<cfset retValue.destAddress = arguments.CFEVENT.originatorid>
<cfset retValue.shortMessage = "echo: " & message>
retValue.shortMessage contains all the data and is then written to a text file like this
"Information","Thread-15","06/30/09","21:07:17","IM_MENU","echo: id:869990453 sub:001 dlvrd:001 submit date:0906301507 done date:0906301507 stat:DELIVRD err:000 text:"
what i need is to set 2 variables
1. MessageId = this is the "id" in the echo
2. MessageStatus = this is the "stat"
i am not sure how to get to this info?
