How do I send the message caught by cErrorHandler to a real Dead Letter Queue of a Messaging provider such as ActiveMQ?
Configure the cErrorHandler component with the Dead Letter parameter. Specify the Dead Letter URI endpoint (not the queue name), for example direct:error.
Link a cDirect with URI error to a cJMS component where you specify the queue name you want to send the message to.
You can add other components between cDirect and cJMS that transform/enrich the message before sending it to the queue.