Beispiel #1
0
def run_connector():
    """ Invoked on the process startup.
    """
    setup_logging()
    
    repo_location = os.environ['ZATO_REPO_LOCATION']
    item_id = os.environ[ENV_ITEM_NAME]
    
    ConsumingConnector(repo_location, item_id)
    
    logger.debug('Starting ZMQ outgoing, repo_location [{0}], item_id [{1}]'.format(
        repo_location, item_id))
Beispiel #2
0
def run_connector():
    """ Invoked on the process startup.
    """
    setup_logging()
    
    repo_location = os.environ['ZATO_REPO_LOCATION']
    def_id = os.environ['ZATO_CONNECTOR_DEF_ID']
    item_id = os.environ[ENV_ITEM_NAME]
    
    OutgoingConnector(repo_location, def_id, item_id)
    
    logger.info('Starting AMQP connector, repo_location [{0}], item_id [{1}], def_id [{2}]'.format(
        repo_location, item_id, def_id))
Beispiel #3
0
def run_connector():
    """ Invoked on the process startup.
    """
    setup_logging()

    repo_location = os.environ['ZATO_REPO_LOCATION']
    item_id = os.environ[ENV_ITEM_NAME]

    ConsumingConnector(repo_location, item_id)

    logger.debug(
        'Starting ZMQ outgoing, repo_location [{0}], item_id [{1}]'.format(
            repo_location, item_id))
Beispiel #4
0
def run_connector():
    """ Invoked on the process startup.
    """
    setup_logging()
    
    repo_location = os.environ['ZATO_REPO_LOCATION']
    def_id = os.environ['ZATO_CONNECTOR_DEF_ID']
    item_id = os.environ[ENV_ITEM_NAME]
    
    ConsumingConnector(repo_location, def_id, item_id)
    
    logger = logging.getLogger(__name__)
    logger.debug('Starting JMS WebSphere MQ outgoing, repo_location [{0}], item_id [{1}], def_id [{2}]'.format(
        repo_location, item_id, def_id))
Beispiel #5
0
def run_connector():
    """ Invoked on the process startup.
    """
    setup_logging()
    
    repo_location = os.environ['ZATO_REPO_LOCATION']
    def_id = os.environ['ZATO_CONNECTOR_DEF_ID']
    item_id = os.environ[ENV_ITEM_NAME]
    
    OutgoingConnector(repo_location, def_id, item_id)
    
    logger = logging.getLogger(__name__)
    logger.debug('Starting JMS WebSphere MQ outgoing, repo_location [{0}], item_id [{1}], def_id [{2}]'.format(
        repo_location, item_id, def_id))
Beispiel #6
0
def run_connector():
    """ Invoked on the process startup.
    """
    setup_logging()

    repo_location = os.environ["ZATO_REPO_LOCATION"]
    def_id = os.environ["ZATO_CONNECTOR_DEF_ID"]
    item_id = os.environ[ENV_ITEM_NAME]

    ConsumingConnector(repo_location, def_id, item_id)

    logger = logging.getLogger(__name__)
    logger.debug(
        "Starting AMQP consuming connector, repo_location [{0}], item_id [{1}], def_id [{2}]".format(
            repo_location, item_id, def_id
        )
    )