Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Information Provided
-
None
-
None
-
Unknown
Description
If you try to run this
<route id="poll-for-sn-and-up-time"> <from uri="snmp:111.222.333.444:161?protocol=udp &type=POLL &repeatCount=5 &timeout=1000 &delay=10000 &timeUnit=MILLISECONDS &oids= 1.3.6.1.2.1.43.5.1.1.17.1, 1.3.6.1.2.1.1.3.0"/> <log message="POLL ${headers} ${body}"/> <to uri="mock:polling"/> </route>
via camel run thefile.xml
then it fails due to trailing whitespace from the break-down of the uri.
We should trim the lines for endpoint uris
Attachments
Issue Links
- is related to
-
CAMEL-20673 camel-core - Add type converter for string to TimeUnit
- Resolved