Why Virtual Destination
This feature is very useful in many situations. Today, Virtual destination solved one of my problems. Here is the use case. In one of our currently application, the message processing route looks like as the following:
We need the new case looks like the following: The new requirement asks us to put all messages which have the property of MessageType = 'SFDC Reject'. Basically, we want to know what has been rejected by SFDC system. We may retry it or send email to the interesting parties. For the moment, we don't know what exactly the process. Of course, this can be achieved through other mechanisms, such as, camel route to copy the message in the processor. But using ActiveMQ's virtual destination is the best choice.Practical Insights
To achieve this we need to modify activemq configuration file, named, activemq.xml. Here is my changes:
No comments:
Post a Comment