List Info

Thread: ReflectionOutBinding?




ReflectionOutBinding?
user name
2006-02-20 19:07:33
Am I missing something or does ReflectionOutBinding not send
the
response back to the client?

the code being:

        Method method = (Method)
inMessage.getProperty("method");
        Object []args = (Object[])
inMessage.getProperty("args");

        try {
            method.invoke(target, args);
            done(messageExchange);
        } catch (IllegalArgumentException e) {
            throw new MessagingException(e);
        } catch (IllegalAccessException e) {
            throw new MessagingException(e);
        } catch (InvocationTargetException e) {
            throw new MessagingException(e);
        }

i.e. shouldn't it do something with
method.invoke(target,args)'s return?

cheers
ReflectionOutBinding?
user name
2006-02-23 16:09:31
Sorry for the delay.
It seems you are right and this component only handles
in-only meps.
Please raise a jira.

Guillaume Nodet

Jamie Le Grange wrote:

>Am I missing something or does ReflectionOutBinding not
send the
>response back to the client?
>
>the code being:
>
>        Method method = (Method)
inMessage.getProperty("method");
>        Object []args = (Object[])
inMessage.getProperty("args");
>
>        try {
>            method.invoke(target, args);
>            done(messageExchange);
>        } catch (IllegalArgumentException e) {
>            throw new MessagingException(e);
>        } catch (IllegalAccessException e) {
>            throw new MessagingException(e);
>        } catch (InvocationTargetException e) {
>            throw new MessagingException(e);
>        }
>
>i.e. shouldn't it do something with
method.invoke(target,args)'s return?
>
>cheers
>
>
>  
>
ReflectionOutBinding?
user name
2006-02-23 19:59:13
done: http://ji
ra.activemq.org/jira/browse/SM-328

On 23/02/06, Guillaume Nodet <guillaume.nodetworldonline.fr> wrote:
> Sorry for the delay.
> It seems you are right and this component only handles
in-only meps.
> Please raise a jira.
>
> Guillaume Nodet
>
> Jamie Le Grange wrote:
>
> >Am I missing something or does ReflectionOutBinding
not send the
> >response back to the client?
> >
> >the code being:
> >
> >        Method method = (Method)
inMessage.getProperty("method");
> >        Object []args = (Object[])
inMessage.getProperty("args");
> >
> >        try {
> >            method.invoke(target, args);
> >            done(messageExchange);
> >        } catch (IllegalArgumentException e) {
> >            throw new MessagingException(e);
> >        } catch (IllegalAccessException e) {
> >            throw new MessagingException(e);
> >        } catch (InvocationTargetException e) {
> >            throw new MessagingException(e);
> >        }
> >
> >i.e. shouldn't it do something with
method.invoke(target,args)'s return?
> >
> >cheers
> >
> >
> >
> >
>
[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )