Hi, I am wondering if there is a reason to have cxfrs endpoint declared as not singleton. My concern is that I am using a producer template to send rest request to a dynamic URI like this: template.requestBodyAndHeaders("cxfrs:" + destination, ...) // destination="http://remote/service"
Each time a request is performed, a new endpoint is created, even if the uri has already been called before. The endpoint creation turn itself into a cxf bus instance creation, which is costly. I think I can specifiy a bus ref is the URI to avoid this, but this was really an unexpected behavior from my point of view ! Should this be improved ? Thanks, Thibaut