On the Activemq component page, there are two descriptions of the URI syntax:

hardcoded in the .adoc source, 
https://camel.apache.org/components/next/activemq-component.html#_uri_format:   
activemq:[queue:|topic:]destinationName[?options]


from the .json component.syntax property, shown at 
https://camel.apache.org/components/next/activemq-component.html#_endpoint_options:
 activemq:destinationType:destinationName

In the immediately following table, the default for destinationType is listed 
as “queue”, so evidently it can be left out.

The first syntax results in activemq:destinationName whereas the second results 
in activemq::destinationName (one vs two colons).

- Which is correct?
- If the first, should the component.syntax property be 
activemq:[destinationType:]destinationName ?

In any case, should there be a distinction between literals such as ‘activemq’ 
or ‘queue’ and symbols such as ‘destinationName’ (e.g. `<destinationName>`)?

David Jencks

Reply via email to