Hi,

I build a dynamic uri with recipientList in blueprint like this:

</blueprint>
...
                        <camel:recipientList>
                        
<camel:simple>{{destinationUri}}/${date:now:ddMMyyHHmmss}?{{destinationUriPara}}</camel:simple>
                        </camel:recipientList>
...
</blueprint>

It complains about sslContextParameters. The request goes to the destination
via a proxy. The camel version is 2.12. The whole url is shown in blow log:

15:19:09,143 | DEBUG | tination.safety] | rg.apache.camel.util.CamelLogger 
170 | 168 - org.apache.camel.camel-core - 2.12.1 | Failed delivery for
(MessageId: ID:dswasdev102.ndc.mq.edu.au-43863-1403483711462-2:5:1:1:1 on
ExchangeId: ID-dswasdev101-ndc-mq-edu-au-29915-1403500565678-101-1). On
delivery attempt: 2 caught: org.apache.camel.ResolveEndpointFailedException:
Failed to resolve endpoint:
https4://safety-test.*.*/Integration/ImportPersons/230614151909?httpClient.cookiePolicy=ignoreCookies&proxyAuthHost=*.*.*.*&proxyAuthPort=3128&proxyAuthScheme=http4&sslContextParametersRef=sslContextParameters
due to: Only same instance of SSLContextParameters is supported. Cannot use
a different instance. Previous instance hashcode: 0x7e7853ae, New instance
hashcode: 0x0


However if I use <camel:to/> with static uri, it is successful. I've another
component which has almost the same recipientList with dynamic url in
spring, it works also fine.

Any idea please?

Many thanks
Damien




--
View this message in context: 
http://camel.465427.n5.nabble.com/Only-same-instance-of-SSLContextParameters-is-supported-tp5752688.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to