Your Browser is not longer supported

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

{{viewport.spaceProperty.prod}}

create() - Add outbound communication endpoint to the configuration

&pagelevel(5)&pagelevel

Function:

BcAdminOutboundCommEndpoint.create()

An outbound communication endpoint, whose properties you must pass to the MC-CLI in a dictionary, is added to the configuration.

Parameters:

object_name

Name of the BeanConnect outbound communication endpoint.

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

Proxy or proxy cluster to which the outbound communication endpoint is to be 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.

props (kw)

Dictionary with the key-value pairs for the properties that are to be assigned to the outbound communication endpoint. You can find the possible values for key in Properties of an outbound communication endpoint.

Return:

(BcObject of type BcObjectType.OUTBOUND_COMM_ENDPOINT)

The outbound communication endpoint added to the configuration.

Exceptions:

BcParameterException, BcObjectException, BcToolException

Example:

...
import BcAdminOutboundCommEndpoint
import BcAdminProxy
...
proxy_obj=BcAdminProxy.getObject("BCProxy")
crPr={"desc":"created","eis-partner":"EP","partner-
service":"TOS"}
ce_obj=BcAdminOutboundCommEndpoint.create("CEND",\
                                          proxy_obj,props=crPr)
...