added several thing to wait on messages for step createConsumer.
not ready yet.