Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我mongodb-queue用来发送消息。为了处理错误,我使用了发送异常的单独通道。发送异常时,我需要检索 POJO。
mongodb-queue
如果您对如何操作有任何想法,请告诉我。
您通常不应该使用error-channel标题丰富器来弄乱标题 - 这是很少需要的;error-channel在入站端点上设置一个。错误通道中的消息将是一个ErrorMessagewithfailedMessage和cause属性。这failedMessage是故障点的消息。
error-channel
ErrorMessage
failedMessage
cause