Hi The correct syntax is in the json file, that are taken from the source code
You are not correct about 2 colons, as when the option is left out (to use its default value) then the colon is not needed either, so you just use activemq:cheese when its a queue, and if you need topic then use activemq:topic:wines On Sun, Nov 28, 2021 at 6:58 PM David Jencks <david.a.jen...@gmail.com> wrote: > > 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 -- Claus Ibsen ----------------- http://davsclaus.com @davsclaus Camel in Action 2: https://www.manning.com/ibsen2