Errata corrige. This documentation https://camel.apache.org/components/latest/nats-component.html is related to the master branch and not to 3.5.0
Il sab 10 ott 2020, 16:49 Andrea Cosentino <[email protected]> ha scritto: > Hello, > > The docs on the website are related to 3.4.x (the LTS) > https://camel.apache.org/components/3.4.x/nats-component.html > > while latest docs are related to 3.5.0 (not LTS) > https://camel.apache.org/components/latest/nats-component.html > > The camel version 3.0.1 was a development release towards the 3.4.0 LTS > release. That's why you don't have documentation for that. > > My suggestion is to use the latest LTS release: 3.4.4 > > Cheers. > > Il giorno sab 10 ott 2020 alle ore 16:42 Rajith Muditha Attapattu < > [email protected]> ha scritto: > >> Hey Guys, >> >> While building an app using this component I realized the >> documentation seems wrong. It states the format is >> nats:topic?severs=xxxxx >> >> But when you run it the nats component will try to connect to a server >> with >> topic as the hostname instead of what's given in the servers. >> I tried specifying the servers in the application.yml which also didn't >> work. >> >> However, I found Andrea Cosentino's blog post which mentioned the format >> to use is nats:/</hostname>:4222?topic=<topic-name> >> >> This seems to work but my Camel version is 3.0.1 >> >> I'm wondering if the docs are for a newer version. Unfortunately I can't >> try with the new version easily. >> >> Can someone verify if the docs work with the latest version? If not I'm >> happy to contribute to the docs to fix it. >> >> -- >> Regards, >> >> Rajith Muditha Attapattu <http://rajith.2rlabs.com/> >> >
