What is different to createProducerTemplate via AutoConfigure and EndPointInject in SpringBoot

2018-12-07 Thread Wang Yan
What is different to createProducerTemplate via AutoConfigure and EndPointInject in SpringBoot ? are the both way correct? via EndpointInject I could create multiple instance of ProducerTemplate, but via Autoconfig I could only create one ProducerTemplate instace

RE: Configuring a CFXEndPoint with multiple certificates

2018-12-07 Thread Richard Davis
That solution is actually not very efficient as the Producer will continually be created if the RecipientList endpoints are constantly changing which is likely for my case. The problem is that the cache is keyed on the URI but for my use case this is not enough. I really need the ability to set

RE: Configuring a CFXEndPoint with multiple certificates

2018-12-07 Thread Richard Davis
I have found what I believe to be the problem: ProducerCache.doGetProducer does not compare the Endpoint contained in the Producer returned by its producers Map with the endpoint supplied by RecipientList.resolveEndpoint. ProducerCache keys its Producers by endpoint URI but this does not allow