Is there a sample or example for really simple 'hello World' kind of starter to check out the MQImport/MQExport binding features of WID? I mean the bare simple QM configuration with one Queue, one listerner on 1414, and one channel, the same thing accessed in WID as a simple module and a plain string is PUT/GET?
Something seems to go wild. It shows messages like:
[11/20/07 17:26:12:320 IST] 00000080 ExceptionUtil E CNTR0020E: EJB threw an unexpected (non-declared) exception during invocation of method "transactionNotSupportedActivitySessionNotSupported" on bean "BeanId(mqtestApp#mqtestEJB.jar#Module, null)". Exception data: javax.jms.JMSException: MQJMS2005: failed to create MQQueueManager for 'localhost:TESTQM' SCA context: Interaction: [invokeAsync,handleMessage] {mqtest}sca.default.component#sca/dynamic/reference => {mqtest}Import1.import Handler: com/ibm/ws/sca/internal/mq/handler/MQImportHandler (com.ibm.ws.sca.internal.mq.handler.MQImportHandler,com/ibm/wsspi/sca/extensions/ImportBindingGroup2) Wrapped by: com.ibm.ws.sca.uow.UOWRolledBackException: caused by: javax.jms.JMSException: MQJMS2005: failed to create MQQueueManager for 'localhost:TESTQM' Caused by: javax.jms.JMSException: MQJMS2005: failed to create MQQueueManager for 'localhost:TESTQM' com.ibm.mq.MQException: MQJE001: An MQException occurred: Completion Code 2, Reason 2195 MQJE018: Protocol error - unexpected segment type received
Does anyone have a example ProjectInterchange that has a MQImport? Do we need to give any dependency jars etc as part of config? The documentation does not specify but all samples seem to use their own 'User defined' or 'Serialized as XML' for Output Data serialization type. I wonder why a plain String type will not work which is already serializable.