The connection is simply a string representing a particular socket - there is no way to generate one - it is generated by the framework.
It is not entirely clear what you are trying to do - an outbound channel adapter, typically, uses a client connection factory, not a server connection factory.
It sounds like you are setting type="server" instead of type="client" on the connection factory.
If not, if you can share some of your configuration, I might be able to help further.
Gary P. Russell
Spring Integration Team
SpringSource, a division of VMware