Rob Shield created CAMEL-6934:
---------------------------------

             Summary: Create new Address for every openConnection call
                 Key: CAMEL-6934
                 URL: https://issues.apache.org/jira/browse/CAMEL-6934
             Project: Camel
          Issue Type: Improvement
          Components: camel-mina2
    Affects Versions: 2.12.0
            Reporter: Rob Shield
            Priority: Minor
             Fix For: 2.13.0


We've had a case where the component to which the Mina2Producer is 
communicating changes IP address.  This change isn't picked up by our camel 
route, which uses Mina2.  Therefore the communication fails. If the address was 
looked up each time openConnection is called (for protocols other than VM) this 
would overcome this problem. 
This 'non-caching' of the IP address  is configurable.  Default is not to have 
it (ie current behavour). Configuration can be updated with a cachedAddress 
flag to turn this feature on. 
I've made changes to a fork of https://github.com/apache/camel so I'll issue a 
pull request.  



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to