[mule-transport-ldap-user] Re: Mule Endpoint - Two (or multiple) Ldap Connectors (Mule 2.1.2)

View: New views
1 Messages — Rating Filter:   Alert me  

Parent Message unknown [mule-transport-ldap-user] Re: Mule Endpoint - Two (or multiple) Ldap Connectors (Mule 2.1.2)

by Hendrik Saly :: Rate this Message:

Reply (Restricted by the Administrator) | Reply to Author | View Threaded | Show Only this Message


Mayilraj,

you can use the following syntax:

ldap://ldap.out?connector=ldapConnector-ps

See for example:
http://svn.muleforge.org/mule-transport-ldap/tags/mule-transport-ldap-2.2.1.1/src/test/java/org/mule/transport/ldap/functional/PersistentSearchTestCase.java
http://svn.muleforge.org/mule-transport-ldap/tags/mule-transport-ldap-2.2.1.1/src/test/resources/ldap-connector-ps.xml

Regards
-Hendrik


Am Sonntag, den 01.11.2009, 22:12 -0800 schrieb Mayilraj Krishnan
(mkrishna):

> Hi Hendrik and Experts,
> I have a question, cuts acorss mule endpoint and ldap transport.
> I have one mule config file and want to have two connector information
> as spring properties.
> I am using ldap.out outbound endpoint with one connector with the
> following service code..
>  
> My service code is like this..
> MuleEventContext context = RequestContext.getEventContext();
>    MuleEndpointURI  uri;
>    MuleMessage req;
>    MuleMessage resp;
>    String ldapURI = new
> String("ldap://ldap.out/(&(objectclass=user)(whenChanged%
> 3e=19700215215335.Z))");
>  
>    uri  = new MuleEndpointURI(ldapURI);
>    req = new DefaultMuleMessage("ldapEDI");
>    resp = context.sendEvent(req, uri);
>    searchResults = (LDAPSearchResults)resp.getPayload();
>  
> It works. How do I pass different connector to create
> MuleEndPointURI? Is this case supported in the transport?
> Appreciate your response..
>  
> Thanks
> Mayilraj
>  
--
________________________________________________
Dipl.-Ing. (FH) Hendrik Saly

Web: http://www.saly.de
E-Mail/Jabber-ID: hendrik.saly@...
ICQ: 496090410

PGP 0x22d7f6ec _________________________________


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://admin.muleforge.org/manage_email



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "MuleForge Dev" group.
To post to this group, send email to muleforgedev@...
To unsubscribe from this group, send email to muleforgedev+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/muleforgedev?hl=en
-~----------~----~----~----~------~----~------~--~---