[
https://issues.apache.org/jira/browse/CAMEL-16899?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17406787#comment-17406787
]
King Harrison commented on CAMEL-16899:
---------------------------------------
Sure [~davsclaus]
My end goal is that I am using Apache Camel in our system to send a Purchase
Order to a number of systems that have different protocols they use to accept
POs. If the PO call was successful, I want to use the values to call RPG
programs on our side to 'finalize' that everything is accepted. I would look to
call two RPG programs in a row, and the result from one RPG program would
influence which second RPG program is called.
I am 'very' new to Java and Apache Camel, so I can't really show exactly how
the Java 'should' look, but here is a hacky example in PHP pseudo language.
$result =
jt400://user:password@system/QSYS.LIB/LIBRARY.LIB/program.PGM[?options];
$secondresult =
jt400://user:password@system/QSYS.LIB/LIBRARY.LIB/program.PGM[?parm1['$result']['value']];
> camel-jt400 - Documentation or ability to handle parameters returned from RPG
> program
> -------------------------------------------------------------------------------------
>
> Key: CAMEL-16899
> URL: https://issues.apache.org/jira/browse/CAMEL-16899
> Project: Camel
> Issue Type: Improvement
> Components: camel-jt400
> Affects Versions: 3.11.0
> Reporter: King Harrison
> Priority: Minor
>
> When calling an RPG program there is no way to handle or description of how
> to handle values returned by the RPG program
--
This message was sent by Atlassian Jira
(v8.3.4#803005)