On Fri, Nov 9, 2012 at 9:24 AM, c031917 <peter.m...@knorr-bremse.com> wrote: > Hi, > > yes, we use Camel / AMQ and honestly I missed the existence of the > camel-exec component. > > Still impressive to find out the capabilities of Camel ! > > Security won't be an issue hopefully, as the two brokers talk only via > two-way certificate ssl link. > > Reading the doc it looks like only predefined commands can be executed. >
See this FAQ http://camel.apache.org/how-do-i-use-dynamic-uri-in-to.html But the exec component allows you to define the command to execute as a header to override the command in the uri configuration, using this key for the command: ExecBinding.EXEC_COMMAND_EXECUTABLE And other header for the arguments. > That will help a little, but may be too inflexible. > > I'm behind a full duplex terminal session, running over messages, similar to > the Jabber example > > in the AMQ book. > > Or could I connect to something like: > http://code.google.com/p/xmpp-ssh/downloads/list > <http://code.google.com/p/xmpp-ssh/downloads/list> ? > > Preferred client would be stuff like PuTTY. On the other side I don't have a > clue what's necessary, > but probably you don't get away with what's available on a standard Linux > (debian in our case). > > Any ideas ? > > > > -- > View this message in context: > http://activemq.2283324.n4.nabble.com/Remote-Shell-via-AMQ-possible-tp4659008p4659096.html > Sent from the ActiveMQ - User mailing list archive at Nabble.com. -- Claus Ibsen ----------------- Red Hat, Inc. FuseSource is now part of Red Hat Email: cib...@redhat.com Web: http://fusesource.com Twitter: davsclaus Blog: http://davsclaus.com Author of Camel in Action: http://www.manning.com/ibsen