add throw exception when creating thread.
add wait for recvieve to become ready feature to camel producer