The code makes use of an event gateway to trigger some async background
processing.
I’ve not been able to make existing code work yet.
I set up a simple test
I have the Gateway set up as a Task Gateway and it shows as running
testgateway.cfc
Trigger
index.cfm
status = "No";
foo = structNew();
foo.Message = "test Message";
status = SendGatewayMessage("TestGateway", foo);
if (status IS "OK") WriteOutput("#foo.Message#");
Nothing is written to test.log and nothing shows in the TaskGateway.log or
Application/Exception logs.
However, the dump of #status# returns: ERROR: sendMessage not supported
Any idea what I’m doing wrong?
(disclaimer: it’s been almost 10 years since I played with this code so I
may be forgetting something fundamental…)
I see the error message ERROR: sendMessage not supported as the only part
of sendMessage. so it doesn’t seem to do -anything- except return the error
(in all 3 cfc’s)?
Seems to me calling the valid SendGatewayMessage can have no other result
other than returning an error.