Hi the camel masters,
Just wanted to clarify the CAMEL-4211 fix works not only for http related
URIs?
I created my own endpoint extending the DefaultEndpoint and passed this
uri="feed:trades?params=param1&params=param2" to it.
In the endpoint itself I put the
private Collection<?> params;
and the
public void setParams(Collection<?> params) {
this.params = params;
}
But got this exception:
Failed to resolve endpoint: feed://trades?params=param2 due to: Could not
find a suitable setter for property: params as there isn't a setter method
with same type: java.lang.String nor type conversion possible: No type
converter available to convert from type: java.lang.String to the required
type: java.util.Collection with value param2
The Camel version I use is 2.8.1.
So I have a doubt that the uri multiple params feature works only for the
http based endpoints, right?
Thank you
Have a great day/night.
--
View this message in context:
http://camel.465427.n5.nabble.com/Problems-with-jetty-component-and-posts-with-more-then-one-value-for-a-field-tp4576908p4853382.html
Sent from the Camel - Users mailing list archive at Nabble.com.