GitHub user mach10 opened a pull request:
https://github.com/apache/camel/pull/54
Mina2 - new Address creation on openConnection
This is to allow the 'non-caching' of IP addresses by the Mina2Producer,
and is configurable via a new flag in Mina2Configuration.
For details please see:
https://issues.apache.org/jira/browse/CAMEL-6934
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/mach10/camel master
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/camel/pull/54.patch
----
commit c3b7fd14ed2b12b592a4ca74d41d1e26f4c7bbce
Author: Rob Shield <[email protected]>
Date: 2013-11-04T17:41:35Z
Added the ability to have Mina2Producer create a new Address each time
openConnection is called. Enables DNS changes to be picked up. Configurable
via new Mina2Configuration property
commit ffbc9e4a7652af8031db326d79d9d83b68aa4136
Author: Rob Shield <[email protected]>
Date: 2013-11-05T10:31:59Z
limited new address creation to udp and tcp connections. Added helper
methods to Configuration matching one already there
----