org.apache.camel.impl
Class ProducerTemplateProcessor

java.lang.Object
  extended by org.apache.camel.impl.ProducerTemplateProcessor
All Implemented Interfaces:
Processor

public class ProducerTemplateProcessor
extends Object
implements Processor

A simple processor which just sends the message exchange to the default endpoint of the ProducerTemplate

Version:
$Revision: 63996 $

Constructor Summary
ProducerTemplateProcessor(ProducerTemplate producerTemplate)
           
 
Method Summary
 void process(Exchange exchange)
          Processes the message exchange
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ProducerTemplateProcessor

public ProducerTemplateProcessor(ProducerTemplate producerTemplate)
Method Detail

process

public void process(Exchange exchange)
             throws Exception
Description copied from interface: Processor
Processes the message exchange

Specified by:
process in interface Processor
Throws:
Exception - if an internal processing error has occurred.

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2009 IONA Open Source Community. All Rights Reserved.