Hi,
I'm facing the following issue. The "imap-idle-channel-adapter" doesn't stop when the stop() command is sent to it via control bus. It works well for let's say first 2-3 attempts and then even the ImapIdleChannelAdapter was stopped itself the ImapMailReceiver is attempting to receive new messages. See attached log file for more details.
This test was performed on an empty INBOX folder.
Here is the code of my start and stop methods:
Regards,Code:@Override public void startComponent(String componentId) { Message<String> operation = MessageBuilder.withPayload("@" + componentId + ".start()").build(); logger.info("Starting component: " + componentId); controlBusInputChannel.send(operation); } @Override public void stopComponent(String componentId) { Message<String> operation = MessageBuilder.withPayload("@" + componentId + ".stop()").build(); logger.info("Stopping component: " + componentId); controlBusInputChannel.send(operation); }
Krzysztof


Reply With Quote