| Message: 69356 |
 |
BY: santosh solapurkar (sansolapurkar) DATE: 2009-04-26 20:51 SUBJECT: RE: Using RJB to send XML file to Weblogic JMS I guess i found the issue. The method send which transports message to a queue/topic belonging to producer is getting conflicting with the obj.send(symbol [, args...]) => obj message of ruby Obj (0bject class). I did try to use method __send__ which is still throwing the same error.
Apart from this i also tried to use _invoke method to invoke send method like this.
producer._invoke('send',"javax.jms.Queue;javax.jms.Message;",QueueSet,message)
which throws error
TestJMSUsingProducer.rb:57:in `_invoke': Fail: unknown method name `send('javax.jms.Queue;javax.jms.Message;')' (RuntimeError)
I guess the invoke method is not able to find the send method and hence throwing this error.
Can any one suggest what i am missing.
Thanks In advance | |