I am getting the following exception trying to run the binding-notification-
producer sample and trying to send a message to a binding-notification-
consumer. The NotificaitonReferenceBindingInvoker is expecting an
OMElement that should be coming from the notification component via
the corresponding databinding. But I don't see a databinding interceptor
between the RuntimeSCABindingInvoker and the NotificationReference-
BindingInvoker, the way you see it in the databinding-echo trace of
TUSCANY-1582.
Any ideas as to why the databinding interceptor is not being added to the
invocation chain?


java.lang.RuntimeException: payload not OMElement
        at
org.apache.tuscany.sca.binding.notification.NotificationReferenceBind
ingInvoker.getWriteableFromPayload(NotificationReferenceBindingInvoker.java
:115)

        at
org.apache.tuscany.sca.binding.notification.NotificationReferenceBind
ingInvoker.invoke(NotificationReferenceBindingInvoker.java:81)
        at
org.apache.tuscany.sca.implementation.notification.NotificationCompon
entInvoker.invoke(NotificationComponentInvoker.java:81)
        at
org.apache.tuscany.sca.binding.sca.impl.RuntimeSCABindingInvoker.invo
ke(RuntimeSCABindingInvoker.java:48)
        at
org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JD
KInvocationHandler.java:236)
        at
org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JD
KInvocationHandler.java:93)
        at $Proxy8.trafficNotification(Unknown Source)
        at
notification.producer.TrafficAdvisoryProducer.produceTrafficNotificat
ion(TrafficAdvisoryProducer.java:34)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.
java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at
org.apache.tuscany.sca.implementation.java.invocation.JavaImplementat
ionInvoker.invoke(JavaImplementationInvoker.java:91)
        at
org.apache.tuscany.sca.binding.sca.impl.RuntimeSCABindingInvoker.invo
ke(RuntimeSCABindingInvoker.java:48)
        at
org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JD
KInvocationHandler.java:236)
        at
org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JD
KInvocationHandler.java:93)
        at $Proxy7.produceTrafficNotification(Unknown Source)
        at notification.producer.TrafficAdvisoryServer.main
(TrafficAdvisoryServe
r.java:45)

Reply via email to