How about helping yourself and using the available search tools and knowledge base? This ground has been covered over and over in this forum.
Here is how to establish a message connection:
Livelink - Redirection
The OutboundMessageListener is added to the MessageConnection.
It's all in the API docs.