amitjoy commented on pull request #48:
URL: https://github.com/apache/felix-dev/pull/48#issuecomment-811130501


   @rotty3000 What I noticed earlier that if I start a local Felix runtime in 
Eclipse with Gogo and simultaneously connect the runtime using Telnet, all 
commands executed in the Telnet console get captured by `ThreadIO`, and the 
execution result gets dispatched to all available streams. The result gets 
displayed not only on the Telnet console but also on the Eclipse IDE console. 
In my opinion, the result should not have been displayed in IDE if the command 
is executed on Telnet and vice versa. This is why, after discussing with 
@pkriens, it has been decided that it would have been great to disable the use 
of `ThreadIO` on demand which @pkriens accomplished in this PR by introducing 
the `SystemIO` service. In my scenario, I just needed to export a custom 
implementation of `SystemIO` with the framework property 
`org.apache.felix.gogo.systemio.timeout` set to a proper timeout value (i.e. 
20000 milliseconds).


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to