BasicProperties和MessageProperties的区别

BasicProperties和MessageProperties的区别

1. 都用于对消息的封装

2. 区别

BasicProperties是rabbitmq提供的

package com.rabbitmq.client;

MessageProperties是spring提供

package org.springframework.amqp.core;

 

转载于:https://www.cnblogs.com/yifanSJ/p/9012607.html

你可能感兴趣的:(BasicProperties和MessageProperties的区别)