**Source URL:** https://general.veevavault.dev/quality/vault-sdk/sdk-integrations/spark-messaging/message-processor.md

# MessageProcessor



To receive a Spark message in a Vault, you must create the logic to tell Vault what you intend to do with the information inside this message. You can create this logic inside a `MessageProcessor`. When creating an inbound queue to accept messages, you can select the Spark message processor to use with this inbound queue.

You must [deploy](/vault-sdk/deploying-code/) your Spark message processor to your Vault to make it available for use with an inbound queue. You can view all of the processors currently deployed to your Vault in **Admin** > **Connections** > **Spark Message Processors**.

Learn more about [`MessageProcessor` in the Javadocs](https://repo.veevavault.com/javadoc/vault-sdk-api/26.1.0/docs/api/com/veeva/vault/sdk/api/queue/package-summary.html).



---

**Previous:** [QueueService](/quality/vault-sdk/sdk-integrations/spark-messaging/queue-service)  
**Next:** [Message Delivery Event Handler](/quality/vault-sdk/sdk-integrations/spark-messaging/message-delivery-event-handler)