title: How can I read socket binding with JBOSS CLI?
body: <p>I'm using <code>RED HAT JBOSS ENTERPRISE APPLICATION PLATFORM 6.4.2.GA</code>. Using EAP Management (<code>Configuration</code> -> <code>Connector</code> -> <code>Mail</code> -> <code>JNDI Name</code> -> <code>View</code>)</p>
  
  <p>I'm able to see value inside of <code>.xml</code> file:</p>
  
  <pre><code># grep remote-destination /etc/jbossas/standalone/standalone-full-ha.xml
              &lt;remote-destination host="X" port="25"/&gt;
              &lt;remote-destination host="X" port="5445"/&gt;
              &lt;remote-destination host="X" port="5445"/&gt;
              &lt;remote-destination host="X" port="25"/&gt;
              &lt;remote-destination host="X" port="25"/&gt;
  # 
  </code></pre>
  
  <p>How can I get value of <code>Socket Binding</code> via <code>jboss-cli.sh</code>?</p>