Class: PublishingPlatformMessageQueueConsumer::HeartbeatProcessor
- Inherits:
-
Object
- Object
- PublishingPlatformMessageQueueConsumer::HeartbeatProcessor
- Defined in:
- lib/publishing_platform_message_queue_consumer/heartbeat_processor.rb
Instance Method Summary collapse
Instance Method Details
#process(message) ⇒ Object
3 4 5 6 7 8 9 10 11 |
# File 'lib/publishing_platform_message_queue_consumer/heartbeat_processor.rb', line 3 def process() # Ignore heartbeat messages if .headers.content_type == "application/x-heartbeat" .ack return false end true end |