Right I can call isRunning() method but the question is how can I receive the return value (true/false) from the given AbstractEndpoint?
I did define two channels:
Code:
<control-bus input-channel="controlBusInputChannel"
output-channel="controlBusOutputChannel" />
and I'm sending the message
Code:
Message<String> operation = MessageBuilder.withPayload("@" + componentId + ".isRunning()").build();
controlBusInputChannel.send(operation);
I assume that result will be send to the output-channel (controlBusOutputChannel) then how could it be retrieved?
Thanks,
Krzysztof