org.ow2.jonas.camel.component
Class ProducerWithCorrectClassLoader

java.lang.Object
  extended by org.ow2.jonas.camel.component.ProducerWithCorrectClassLoader
All Implemented Interfaces:
org.apache.camel.Processor

public class ProducerWithCorrectClassLoader
extends java.lang.Object
implements org.apache.camel.Processor

Camel producer with the TCCL set to the bundle's CL.


Constructor Summary
ProducerWithCorrectClassLoader(java.lang.String to)
           
 
Method Summary
 void process(org.apache.camel.Exchange e)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProducerWithCorrectClassLoader

public ProducerWithCorrectClassLoader(java.lang.String to)
Parameters:
to - Producer's destination.
Method Detail

process

public void process(org.apache.camel.Exchange e)
             throws java.lang.Exception
Specified by:
process in interface org.apache.camel.Processor
Throws:
java.lang.Exception


Copyright © 2010 OW2 Consortium. All Rights Reserved.