Your Browser is not longer supported

Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...

{{viewport.spaceProperty.prod}}

getObject() - Read outbound service object from the configuration

Function:

BcAdminOutboundService.getObject()

Reads the specified outbound service from the configuration.

Parameters:

object_name

Name of the BeanConnect outbound service that is to be read.

proxy_object
(BcObject of type BcObjectType.PROXY / BcObjectType.PROXY_CLUSTER)

Proxy or proxy cluster to which the outbound service is assigned. The specification of a proxy_object of type BcObjectType.PROXY is not permitted if the proxy belongs to a proxy cluster. In this case, the proxy cluster object must be specified as a parameter here.

Return:

(BcObject of type BcObjectType.OUTBOUND_SERVICE)

The read outbound service or None if no outbound service with a corresponding name exists.

Exceptions:

BcObjectException, BcParameterException, BcToolException

Example:

...
import BcAdminOutboundService
import BcAdminProxy
...
proxy_obj=BcAdminProxy.getObject("BCProxy")
os_obj=BcAdminOutboundService.getObject("OSRV",proxy_obj)
...