org.apache.camel.spring.remoting
Class SendBeforeInterceptor

java.lang.Object
  extended by org.apache.camel.spring.remoting.SendBeforeInterceptor
All Implemented Interfaces:
org.aopalliance.aop.Advice, org.aopalliance.intercept.Interceptor, org.aopalliance.intercept.MethodInterceptor, CamelContextAware, DisposableBean, InitializingBean

public class SendBeforeInterceptor
extends Object
implements org.aopalliance.intercept.MethodInterceptor, CamelContextAware, InitializingBean, DisposableBean

A Spring interceptor which sends a message exchange to an endpoint before the method is invoked

Version:
$Revision: 684774 $

Constructor Summary
SendBeforeInterceptor()
           
 
Method Summary
 void afterPropertiesSet()
           
 void destroy()
           
 String getUri()
           
 Object invoke(org.aopalliance.intercept.MethodInvocation invocation)
           
 void setCamelContext(CamelContext camelContext)
           
 void setUri(String uri)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SendBeforeInterceptor

public SendBeforeInterceptor()
Method Detail

invoke

public Object invoke(org.aopalliance.intercept.MethodInvocation invocation)
              throws Throwable
Specified by:
invoke in interface org.aopalliance.intercept.MethodInterceptor
Throws:
Throwable

afterPropertiesSet

public void afterPropertiesSet()
                        throws Exception
Specified by:
afterPropertiesSet in interface InitializingBean
Throws:
Exception

destroy

public void destroy()
             throws Exception
Specified by:
destroy in interface DisposableBean
Throws:
Exception

setCamelContext

public void setCamelContext(CamelContext camelContext)
Specified by:
setCamelContext in interface CamelContextAware

getUri

public String getUri()

setUri

public void setUri(String uri)


Copyright © 2009 Apache Software Foundation. All Rights Reserved.