title: Connecting to a Tibco Queue from a natted ip fails
body: <p>first of all, I am not very familiar with Tibco, please keep that in mind ;).</p>
  
  <p>I have a task to write an application which reads/writes to a jms queue (not a big deal). The problem is, the customer uses Tibco &amp; allowed me to connect to their server to run some tests. Unfortunatly, I am only allowed to connect via natted IPs &amp; as soon as I try to connect to a QueueConnectionFactory, I receive an error because Tibco itself tries to connect to the "private" IP.</p>
  
  <p>The interesting thing is, receiving the Queue, QueueConnectionFactory,... objects from the context works fine - but when I do a toString() I see that the cf received has configured the 'private' IP.</p>
  
  <p>Example: I set this url as provider url -> tibjmsnaming://<strong>213.133.111.182</strong>:7222</p>
  
  <p>Receiving the QueueConnectionFactory object works fine, doing a to string returns "QueueConnectionFactory[URL=tcp://<strong>145.12.51.4</strong>:7222;clientID=null]"</p>
  
  <p>So as soon as I call "createQueueConnectionFactory()" I receive this exception:</p>
  
  <p>javax.jms.JMSException: Failed to connect to the server at tcp://145.12.51.4:7222 </p>
  
  <p>Is there a way to override this behavior &amp; tell the Tibco server to use the configured provider url instead?</p>