// already connected?
if( _state == State.UNCONNECTED )
{
_state = State.STOPPED;
Container container = _clientId == null ? new Container() : new Container(_clientId);
// TODO - authentication, containerId, clientId, ssl?, etc
try
{
_conn = new org.apache.qpid.amqp_1_0.client.Connection(_host,
_port, _username, _password, container, _remoteHost, _ssl,