Apply a sequenceNumber to inboundGateway messages