intelmq.bots.collectors.stomp package¶
Submodules¶
intelmq.bots.collectors.stomp.collector module¶
- intelmq.bots.collectors.stomp.collector.BOT¶
alias of
StompCollectorBot
- class intelmq.bots.collectors.stomp.collector.StompCollectorBot(*args, **kwargs)¶
Bases:
CollectorBot
,StompMixin
Collect data from a STOMP Interface
- 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
- exchange: str = ''¶
- heartbeat: int = 6000¶
- init()¶
- password: str = 'guest'¶
- port: int = 61614¶
- process()¶
- server: str = 'n6stream.cert.pl'¶
- shutdown()¶
- ssl_ca_certificate: str = 'ca.pem'¶
- ssl_client_certificate: str = 'client.pem'¶
- ssl_client_certificate_key: str = 'client.key'¶
- username: str = 'guest'¶
- intelmq.bots.collectors.stomp.collector.connect_and_subscribe(conn, logger, destination, start=False, connect_kwargs=None)¶