Author |
Message
|
pverma |
Posted: Thu Nov 01, 2007 4:07 am Post subject: Invoking program though |
|
|
Newbie
Joined: 01 Nov 2007 Posts: 3
|
Need to know if there is someway by which an external program like a shell script etc. can be invoked through esql code. Thanks for all the help. |
|
Back to top |
|
 |
jefflowrey |
Posted: Thu Nov 01, 2007 5:11 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
Yes.
You can call java code from ESQL that can then invoke an external process.
Otherwise, no. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
pverma |
Posted: Tue Nov 06, 2007 4:58 am Post subject: |
|
|
Newbie
Joined: 01 Nov 2007 Posts: 3
|
This means adding an additional Java Node somwhere in your flow. Thanks for all the help this was one of the solution that I had in mind too but I think its bad that esql does not allow any help for directly invoking an external program. I have couple of more options in mind. One option that I could think of is of putting a message in a queue and an external java program for sending mail can be triggered on every message that comes in the queue. One more option can be the use of SendMail Node but for registering that node in the broker, broker restart is required. Not sure if there is a way by which any node can be deployed without restarting the broker. |
|
Back to top |
|
 |
jefflowrey |
Posted: Tue Nov 06, 2007 5:36 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
There's more than one way to call Java from ESQL.
It's good that ESQL doesn't allow any help for invoking an external program.
Broker is a routing and transformation engine, it's not a process choreography engine.
v6.1 of Broker will include an EmailOutput node. But if you wanted options for sending email from broker, you should have asked about that, rather than about launching an external process. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
pverma |
Posted: Tue Nov 13, 2007 11:22 pm Post subject: |
|
|
Newbie
Joined: 01 Nov 2007 Posts: 3
|
Thanks Grand for the information on EmailOutput node in v6.1. Thanks for pointing out an important information that Broker is a routing and transformation engine and not a process choreography engine. |
|
Back to top |
|
 |
|