Re: configuration of the Pulsar component

2020-01-22 Thread Andrea Cosentino
By the way if you think the documentation should be improved or the component needs different stuff, open an issue and help by sending a Pull Request. Thanks. Il giorno gio 23 gen 2020 alle ore 08:37 Andrea Cosentino ha scritto: > We have this example based on Spring DSL and Pulsar. > > >

Re: configuration of the Pulsar component

2020-01-22 Thread Andrea Cosentino
We have this example based on Spring DSL and Pulsar. https://github.com/apache/camel/blob/master/examples/camel-example-spring-pulsar/src/main/resources/camel-client.xml Il giorno gio 23 gen 2020 alle ore 08:32 Andreas Findert < andreas.find...@web.de> ha scritto: > thx Andrea, > > but if this

Re: configuration of the Pulsar component

2020-01-22 Thread Andreas Findert
thx Andrea, but if this is the only way to set up a pulsar client via the camel-pulsar component, it makes it difficult to use it via the the Spring DSL: - setting up a client bean doesn't work, because the "factory-method" can't be directly applied to the client builder call in fluent style -

Re: configuration of the Pulsar component

2020-01-21 Thread Andrea Cosentino
You need to create your own pulsarClient component option and set it on your component PulsarClient client = PulsarClient.builder() .serviceUrl("pulsar://localhost:6650,localhost:6651,localhost:6652") .build(); Then you can add this to your component configuration. Il

configuration of the Pulsar component

2020-01-21 Thread Andreas Findert
how  to configure the broker URL for the pulsar client instantiated by the camel-pulsar component?