intelmq.bots.outputs.stomp package¶
Submodules¶
intelmq.bots.outputs.stomp.output module¶
- intelmq.bots.outputs.stomp.output.BOT¶
alias of
StompOutputBot
- class intelmq.bots.outputs.stomp.output.StompOutputBot(*args, **kwargs)¶
Bases:
OutputBot
,StompMixin
Send events to a STMOP server
- auth_by_ssl_client_certificate: bool = True¶
- classmethod check(parameters)¶
The bot’s own check function can perform individual checks on it’s parameters. init() is not called before, this is a staticmethod which does not require class initialization.
- Parameters:
parameters – Bot’s parameters, defaults and runtime merged together
- Returns:
- None or a list of [log_level, log_message] pairs, both
strings. log_level must be a valid log level.
- Return type:
output
- connect()¶
- exchange: str = '/exchange/_push'¶
- heartbeat: int = 60000¶
- http_verify_cert: bool | str = True¶
- init()¶
- keep_raw_field: bool = False¶
- message_hierarchical_output: bool = False¶
- message_jsondict_as_string: bool = False¶
- message_with_type: bool = False¶
- password: str = 'guest'¶
- port: int = 61614¶
- process()¶
- server: str = '127.0.0.1'¶
- shutdown()¶
- single_key: bool = False¶
- ssl_ca_certificate: str = 'ca.pem'¶
- ssl_client_certificate: str = 'client.pem'¶
- ssl_client_certificate_key: str = 'client.key'¶
- username: str = 'guest'¶