INT-3506 Add Support for MessagingGateway

Add a constant to indicate no executor.

Add tests.