In the project tree, under eXchange⇒Errors⇒Sub_DLQ, open cmSub_DLQ and make sure that its File eWay is configured appropriately for your operating environment.
Right-click the Sub_DLQ project.
On the context menu, point to New and click Deployment Profile
In the Create Deployment Profile dialog box, name the Deployment Profile to dpErrorsDLQ and point it at the correct Environment.
Make sure that it is referencing cmSub_DLQ (the Connectivity Map for the “dead letter” topic), and then click OK.
See Figure 4–25.
In the Deployment Editor, click Automap to map the two components to their respective external systems, and then click Build.
See Figure 4–26.
After the build step completes successfully (creating the EAR file), click Deploy.
The Sub_DLQ project is built and deployed. At runtime, any undeliverable messages that cannot be processed are copied and written to a file.