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() - Outbound Communication Endpoint zur Konfiguration hinzufügen

Funktion:

BcAdminOutboundCommEndpoint.create()

Es wird ein Outbound Communication Endpoint zur Konfiguration hinzugefügt, dessen Eigenschaften Sie in einem Dictionary am MC-CLI übergeben müssen.

Parameter:

object_name

Name des BeanConnect Outbound Communication Endpoint

proxy_object
(BcObject vom Typ BcObjectType.PROXY / BcObjectType.PROXY_CLUSTER)

Proxy bzw. Proxy Cluster, dem der Outbound Communication Endpoint zugeordnet werden soll.
Die Angabe von proxy_object vom Typ BcObjectType.PROXY ist nicht erlaubt, wenn der Proxy zu einem Proxy Cluster gehört. In diesem Fall muss hier als Parameter das Proxy Cluster Objekt angegeben werden.

props (kw)

Dictionary mit key-value-Paaren der Eigenschaften, die dem Outbound Communication Endpoint zugeordnet werden sollen. Mögliche Werte für key finden Sie in Eigenschaften eines Outbound Communication Endpoints .

Rückgabe:

(BcObject vom Typ BcObjectType.OUTBOUND_COMM_ENDPOINT)

Der neu zur Konfiguration hinzugefügte Outbound Communication Endpoint.

Exceptions:

BcParameterException, BcObjectException, BcToolException

Beispiel:

...
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)
...