provider_get


Description:


[ Version ( replacement = "Provider.get" ) ]
public Provider provider_get (string protocol) throws Error

Returns the registered Provider for protocol, loading it from disk if necessary.

If no Provider can be found for protocol, or the provider module fails to load, the function sets throws and returns null.

The returned Provider is owned by Camel and should not be modified or freed.

Parameters:

protocol

a Provider protocol name

Returns:

a Provider for protocol, or null on error


Namespace: Camel
Package: camel-1.2