I’d love to see the OVER capability in the SEND OK and SEND FAIL procs. Thats when a point to point interface becomes an ESB. Each node performing some task, and passing the message on to the next node.
Right now I’m designing an interface where an inbound message goes through translation and then results in an email. Only after the email succeeds or not do I then want to update a database. I don’t want to update a database using tcl; I want to use a database protocol thread. I know the db protocol thread needs a little work in the area of error recovery, but its coming along. Most important is the requirement to have messages queue somewhere safely while the database is unavailable. When the database is available, the message will flow automatically, without manual intervention.
I can see where accessing a database in the middle of an interace, for data lookup or temporary storage, is required, and we do it here, but I think we will soon make a distinction between local databases like SQLite and network databases like SQL Server or Oracle. I think we will change, at some point, to reference only local databases like SQLite, in the middle of an interface, and only access network databases using database protocols.
Sorry to hijack this thread. I still think it would open up a whole new set of integration if we could OVER after protocol action.
Plus if you could do that, then that middle thread would have an inbound side with routing to another destination thread. The NetConfig would show three threads, with lines from thread 1 to thread 2, and a line from thread 2 to thread 3. So you could easily see the path of the interface.
If one used a SEND in the SEND OK procs, then you lose that visibility.