Hi Asankha
I will take care from now onwards that i only attach files
Hey i have written this pojo Command
----------------------------------------------------------------
<pojoCommand name="dblookup.Main">
<property name="processString"
expression="//processstring"
action="ReadMessage"/>
<property name="id"
context-name="id-var"
action="UpdateContext"/>
</pojoCommand>
----------------------------------------------------------------------
The variable id takes its value from the class.
Now i want to pass the value of id to another pojo command.and i m doing it
like this
------------------------------------------------------------
<property name="RequestId"
expression="get-property('id-var')"
action="ReadMessage"/>
---------------------------------------------------------------------
But i am getting some error.So how to pass this value to another PoJo
Command.
Thanks and Regards
Abhishek
Asankha C. Perera wrote:
>
> Hi Abhishek
>
> Please only attach other files.. else the email becomes very messy and
> unreadable :-(
>> ERROR POJOCommandMediator Error invoking the execute() method on POJO
>> class
>
>
>> : class java.lang.Class
>> java.lang.reflect.InvocationTargetException
>> ...
>> Caused by: java.lang.NoClassDefFoundError:
>> com/sun/messaging/QueueConnectionFactory
>>
> Make sure your any JARs required by your JMS provider are copied to the
> lib directory..
>> What i am trying to do is to call this jms client using synapse.HOw to
>> resolve this error?
>> Any sample example of calling a independent jms client from synapse using
>> pojo or a class mediator will also be helpful.
>>
> this is a plain old class not found.. nothing related to Synapse
>
> cheers
> asankha
>
> --
> Asankha C. Perera
> AdroitLogic, http://adroitlogic.org
>
> http://esbmagic.blogspot.com
>
>
>
>
>
>
--
View this message in context:
http://www.nabble.com/Invoking-Synapse-from-Non-Axis-2-Client-tp21970007p22410020.html
Sent from the Synapse - User mailing list archive at Nabble.com.