ibm-mq

Channel compression in IBM MQ classes for Java

懵懂的女人 提交于 2019-12-11 04:42:05
问题 How can I implement a data compression plan other than RLE,ZLIBFAST or ZLIBHIGH for channel compression in IBM MQ using Java classes? There are several algorithms like Lempel,DEFLATE and Huffman coding for data compression.Can I use these algorithms for my implementation? 回答1: I would strongly suggest you use the builtin compress features because otherwise you will need to write send and receive exits for MQ. You will need above average programming skills and a very strong knowledge of MQ to

Are server-conn and client-conn channels the only channels that could have more than one instances?

*爱你&永不变心* 提交于 2019-12-11 03:54:10
问题 I cannot figure out a way to get other channel types, e.g. sender channel, to be multiple instances. There is nothing documented against this. I am assuming only the connection channels could have multiple instances. Is this correct? Thanks. 回答1: Channels that can have multiple instances include channels used by clients (MQI channels) and the channels used by QMgrs (MCA channels) that are inbound types - RCVR, RQSTR and CLUSRCVR. Outbound MCA channels (SDR, SVR, CLUSSDR) are associated with a

MessageListener, will it get concurrent messages

心已入冬 提交于 2019-12-11 03:37:49
问题 I'm using XMS 7.5 client to access the IBM MQ and wanted to know one thing about MessageListener. When there are multiple messages are present on the queue, will the associated MessageListener method (i.e, ProcessNewMessage in the below code)called concurrently? OR The messages will be dispatched to the MessageListener(i.e, ProcessNewMessage in the below code) method only at a time? The code is something like below: private XMSFactoryFactory xMSFactoryFactory; private IConnectionFactory

IBM MQueue: setdirectAuth() operation is invalid error

穿精又带淫゛_ 提交于 2019-12-11 03:30:59
问题 I am receiving the following error when I try to access IBM Mqueue from Tomcat. com.ibm.msg.client.jms.DetailedJMSException: JMSMQ1112: The operation for a domain specific object was not valid. The operation 'setDirectAuth()' is not valid for type 'com.ibm.mq.jms.MQQueueConnectionFactory'. What could be the possible reasons for this? My code is very long and I cannot post it here. 回答1: What could be the possible reasons for this? Perhaps because setDirectAuth() was called. It is used to

Apache MQ - JMS message selector

允我心安 提交于 2019-12-11 03:29:36
问题 I need some help to fetch all the messages for a particular queue which has a particular property on it. The problem here is I need to match the JMS header property process with processName .As the message can have the value for process as upper or lowercase but processName always has a value which is uppercase. I can NOT use equalsIgnorecase here like : StringJMSCriteriaBuilder("process").equalIgnorecase(processName); As there is no such method in IJMSSelectorCriteriaBuilder interface. Below

What Is The Convention For Hosting IBM MQ In Maven Repos?

我怕爱的太早我们不能终老 提交于 2019-12-11 02:58:03
问题 We are using IBM MQ 8.0.0.4 in our application and so we are planning on hosting the jars in our maven repository manager (Nexus OSS 2 in this case). What is the convention for the GAV for IBM MQ specifically? The jars that are required are: commonservices.jar dhbcore.jar headers.jar jmqi.jar mqjms.jar pcf.jar mq.jar Nojndi.jar jndi.jar fscontext.jar providerutil.jar jms.jar connector.jar All of them up to mq.jar are IBM jars. Should I use the com.ibm group id? Or the com.ibm.mq group id? Or

C++ - MQ RC Code 2219

拟墨画扇 提交于 2019-12-11 02:31:05
问题 I got a rc code 2219, the design of the program is we have 2 threads. One for getting messages and one for putting/sending messages to the queue. So we got 2 processes running simultaneously. Here's the flow of get thread: *connect to queue manager *set connection reference/listener *set get message option (wait indefinitely) *open queue *get message from queue Here's the flow of put thread: *connect to queue manager *set connection reference/listener *set put message option *open queue *put

WebSphere MQ 6 message segmentation option ignored in put()?

白昼怎懂夜的黑 提交于 2019-12-11 02:24:39
问题 I'm attempting to get MQ v6 to segment messages using the message flag MQMF_SEGMENTATION_ALLOWED and the put message option MQPMO_LOGICAL_ORDER as suggested in IBM's help guide. ImqMessage message; message.setFormat(MQFMT_STRING); message.setMessageFlags(MQMF_LAST_MSG_IN_GROUP | MQMF_SEGMENTATION_ALLOWED); /* ... */ ImqPutMessageOptions pmopts; pmopts.setOptions(MQPMO_LOGICAL_ORDER); if (!queue.put(message, pmopts)) { buflen; m_iLastError = queue.reasonCode(); CString reason; reason.Format(_T

Listening to new enqueued messages using WCF Service

杀马特。学长 韩版系。学妹 提交于 2019-12-11 01:57:45
问题 My message-queue is managed by IBM WebSphere MQ and I would like to be able to listen for new enqueued messages using a WCF service. Each new message should trigger a call to my service with the new message as a parameter. Do you know any way about how to create such a service and host it? 回答1: If you are using WebSphere MQ v701 or above, then you can use the WebSphere MQ Custom channel for WCF. Using the custom channel you can build and host services. You can find more details and samples

mqjbnd05 error when deploying app on websphere

最后都变了- 提交于 2019-12-11 01:06:30
问题 I have a fresh install of Wesphere 6.1 Fixpack 23. I have an app deployed that requires an MQSeries JMS Queue. I set up an MQSeries provider-based request and reply queue and an MQSeries provider-based queue connection factory. When the deployed app tries to access the queue, I receive the following error. Any assistance would be appreciated. Thanks! [5/28/09 10:33:42:538 EDT] 00000033 ServletWrappe E SRVE0068E: Uncaught exception thrown in one of the service methods of the servlet: espaapp.