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 Service zur Konfiguration hinzufügen

Funktion:

BcAdminOutboundService.create()

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

Parameter:

object_name

Name des BeanConnect Outbound Service.

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

Proxy bzw. Proxy Cluster, dem der Outbound Service 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 den key-value-Paaren der Eigenschaften, die dem Outbound Service zugeordnet werden sollen. Mögliche Werte für key finden Sie in Eigenschaften eines Outbound Services .

Rückgabe:

(BcObject vom Typ BcObjectType.OUTBOUND_SERVICE)

Der neu zur Konfiguration hinzugefügte Outbound Service.

Exceptions:

BcParameterException, BcObjectException, BcToolException

Beispiel:

...
import BcAdminOutboundService
import BcAdminProxy
...
proxy_obj=BcAdminProxy.getObject("BCProxy")
crPr={"desc":"created","dial-type":BcDef.TYPE DIALOG,\
                                         "reply-timer.sec": "90"}
os_obj=BcAdminOutboundService.create("OSRV",proxy_obj,props=crPr)
...