AnsweredAssumed Answered

Writing custom MQ Websphere Receiver on scala with Spark 1.5.2 -- error "uncaught exception during compilation: java.lang.AssertionError"

Question asked by thomasd on Apr 5, 2016
Latest reply on Jun 3, 2016 by maprcommunity



I am trying to write a custom receiver on scala with spark 1.5.2 for a connection to MQ Websphere.


I need to use a MQQueueConnectionFactory but once I have imported the jar and running " var conFactory= new MQQueueConnectionFactory();" I am faced to the below error message :


uncaught exception during compilation: java.lang.AssertionError

java.lang.AssertionError: assertion failed: javax.jms.JMSException

That entry seems to have slain the compiler.  Shall I replay

your session? I can re-run each line except the last one.



Does anyone have been in the same situation ? How can I solve this issue?


Thanks for your help !