This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/camel.git
commit 4fc8dfe66525afc9ae0d108028a9dfc54ceb60cb Author: Andrea Cosentino <anco...@gmail.com> AuthorDate: Tue Jul 30 11:19:22 2019 +0200 Regen --- docs/components/modules/ROOT/pages/kafka-component.adoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/components/modules/ROOT/pages/kafka-component.adoc b/docs/components/modules/ROOT/pages/kafka-component.adoc index c4e4f81..a9da0d3 100644 --- a/docs/components/modules/ROOT/pages/kafka-component.adoc +++ b/docs/components/modules/ROOT/pages/kafka-component.adoc @@ -385,7 +385,7 @@ Here how to use it : FileStateRepository repository = FileStateRepository.fileStateRepository(new File("/path/to/repo.dat")); // Bind this repository into the Camel registry -JndiRegistry registry = new JndiRegistry(); +Registry registry = createCamelRegistry(); registry.bind("offsetRepo", repository); // Configure the camel context @@ -451,7 +451,7 @@ SSLContextParameters scp = new SSLContextParameters(); scp.setKeyManagers(kmp); // Bind this SSLContextParameters into the Camel registry -JndiRegistry registry = new JndiRegistry(); +Registry registry = createCamelRegistry(); registry.bind("ssl", scp); // Configure the camel context