file://somedir?delay=1000

For file the delay option should be prefixed with consumer.
So it should be:
file://somedir?consumer.delay=1000

Do you have other URI's that could break?


Med venlig hilsen
 
Claus Ibsen
......................................
Silverbullet
Skovsgårdsvænget 21
8362 Hørning
Tlf. +45 2962 7576
Web: www.silverbullet.dk

-----Original Message-----
From: cclark [mailto:[EMAIL PROTECTED] 
Sent: 23. juni 2008 16:13
To: [email protected]
Subject: endpoint parameters


In the latest code, I noticed that the DefaultComponent.createEndpoint(String
uri) method now throws an exception if all the parameters aren't used.  It
assumes there is a spelling mistake.  However, some of the
consumers/producers expect these properties to be in the uri. 

Example: 

file://somedir?delay=1000

This behavior might break a few things in the next release.  Should this do
log.warn instead?
-- 
View this message in context: 
http://www.nabble.com/endpoint-parameters-tp18070112s22882p18070112.html
Sent from the Camel - Development mailing list archive at Nabble.com.

Reply via email to