- 
        1. Re: Intercepting all messages that flow through NMRjoe.luo Apr 2, 2009 7:30 AM (in response to hkapoor)Firstly, I can see a small typo in your EchoAll.xml where you defined the bean id as "myListener" but you referenced it in osgi:service as "myListner". I am not sure if it is the root cause of your problem though. If correcting the typo still does not solve your problem, could you attach your test case please? 
- 
        2. Re: Intercepting all messages that flow through NMRjgoodyea Apr 2, 2009 9:58 AM (in response to joe.luo)Hi All, As a heads up we have an Exchange and an Endpoint Listener demo available in the SMX4 NMR kit: http://servicemix.apache.org/nmr/servicemix-nmr-100.html I haven't tried it with the cxf-wsdl-first example however I have noticed that for some demos I will not see output from the listener. This is due to the particular example not sending/receiving exchanges on the NMR. The bridge example does provide a very good demonstration of NMR exchanges using the ExchangeListener. For comparison purposes here is the beans.xml content from the demo: Cheers, Jamie http://icodebythesea.blogspot.com/ Edited by: jgoodyea on Apr 2, 2009 1:55 PM 
- 
        3. Re: Intercepting all messages that flow through NMRhkapoor Apr 3, 2009 4:04 AM (in response to jgoodyea)Hi, There were 2 problems, 1) The spelling of myListener was different in bean id="myListener" and =0.0.0)) -Harshit 
- 
        4. Re: Intercepting all messages that flow through NMRjgoodyea Apr 3, 2009 12:00 PM (in response to hkapoor)Hi, Could you post some of your pom file for building this listener bundle? Here is a link to the pom file used to build the NMR exchange listener example for comparison purposes: Cheers, Jamie 
- 
        5. Re: Intercepting all messages that flow through NMRhkapoor Apr 3, 2009 2:51 PM (in response to jgoodyea)I did not use any pom file to create bundle. I am under the impression that bundle will be generated automatically, infact it does get generated in /data/bundles generated folder. -Harshit 
- 
        6. Re: Intercepting all messages that flow through NMRhkapoor Apr 6, 2009 5:02 AM (in response to jgoodyea)Hi, After combining a couple of sample codes and pom.xml I have managed to get the Interceptor working. The attached file contains every thing. Use mvn install to create a package and then deploy it using osgi install jbi:... command. Have a look at "STEPS README.txt" in the zip file for more details -Harshit - 
            
                            
            InterceptExchange.zip 11.5 KB
 
- 
            
                            
            
- 
        7. Re: Intercepting all messages that flow through NMRjgoodyea Apr 6, 2009 9:39 AM (in response to hkapoor)Hi, I just tried out your interceptor demo, nice work In case anyone else reading this thread is interested in learning more about the interceptors in Servicemix please see: http://servicemix.apache.org/SMX4NMR/9-interceptors.html http://servicemix.apache.org/SMX4NMR/10-events.html Cheers, Jamie 
 
     
    