title: How to pass custom resource in asmack
body: <p>I am sure this is possible using ConnectionConfiguration, but I am not able to find a documentation for the same. I need a different resource than <code>Smack</code>.
  My current code looks like this - </p>
  
  <pre><code>ConnectionConfiguration connectionConfig = new ConnectionConfiguration(HOST,PORT, SERVICE);
  XMPPConnection connection = new XMPPTCPConnection(connectionConfig);
  connection.connect();
  </code></pre>
  
  <p>How can I pass a custom JID resource in it?</p>