| 1. |
What Is An Uri? |
|
Answer» URI is a naming SCHEME used in camel to refer to an ENDPOINT. An URI TELLS camel, the component being used, the context path and the options applied against the component. URI contains 3 parts:
EXAMPLE of a file URI working as a consumer : from("file:src/data?fileName=demo.txt&fileExist=Append"); Here the scheme points to file, the context path is “src/data” and the options are “fileName and fileExist” are options that can be used with file component or file endpoint. URI is a naming scheme used in camel to refer to an endpoint. An URI tells camel, the component being used, the context path and the options applied against the component. URI contains 3 parts: Example of a file URI working as a consumer : from("file:src/data?fileName=demo.txt&fileExist=Append"); Here the scheme points to file, the context path is “src/data” and the options are “fileName and fileExist” are options that can be used with file component or file endpoint. |
|