示例#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))
示例#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))
示例#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))
示例#4
0
文件: channel.py 项目: Adniel/zato
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))
示例#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))
示例#6
0
文件: channel.py 项目: rpeterson/zato
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
        )
    )