This is an automated email from the ASF dual-hosted git repository.

zregvart pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git

commit 20a368394fb284c1c0f01792acba3688230cd2bf
Author: Zoran Regvart <zregv...@apache.org>
AuthorDate: Wed Jul 24 11:00:49 2019 +0200

    Regen
---
 docs/components/modules/ROOT/pages/ldif-component.adoc | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/docs/components/modules/ROOT/pages/ldif-component.adoc 
b/docs/components/modules/ROOT/pages/ldif-component.adoc
index 6d1e663..6c239ae 100644
--- a/docs/components/modules/ROOT/pages/ldif-component.adoc
+++ b/docs/components/modules/ROOT/pages/ldif-component.adoc
@@ -32,7 +32,7 @@ for this component:
 
 [source]
 ----
-ldap:ldapServerBean[?options]
+ldif:ldapServerBean[?options]
 ----
 
 The _ldapServerBean_ portion of the URI refers to a
@@ -168,6 +168,7 @@ The `LdapConnection` bean may be defined as follows in 
Spring XML:
 ----
 
 or in a OSGi blueprint.xml:
+[source,xml]
 ----
 <bean id="ldapConnectionOptions" 
class="org.apache.directory.ldap.client.api.LdapConnectionConfig">
   <property name="ldapHost" value="${ldap.host}"/>
@@ -196,7 +197,7 @@ Name is then extracted from the response.
 ----
 ProducerTemplate<Exchange> template = 
exchange.getContext().createProducerTemplate();
 
-List<?> results = (Collection<?>) template.sendBody("ldap:ldapConnection, 
"LDiff goes here");
+List<?> results = (Collection<?>) template.sendBody("ldif:ldapConnection, 
"LDiff goes here");
 
 if (results.size() > 0) {
   // Check for no errors

Reply via email to