ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » Search

 Search found 59 matches
Author Message
  Topic: JMS Message -> PCF Message ?
garonne

Replies: 13
Views: 11874

PostForum: IBM MQ Java / JMS   Posted: Mon Aug 28, 2006 6:46 am   Subject: JMS Message -> PCF Message ?
sorry, you're right.

I lost track of what we were doing for a sec.



Do you have another solution?

I found difficult to extract bytes from JMS message to make PCFMessage.
  Topic: MQJE011: Socket connection attempt refused
garonne

Replies: 12
Views: 12097

PostForum: IBM MQ Java / JMS   Posted: Mon Aug 28, 2006 5:50 am   Subject: MQJE011: Socket connection attempt refused
I have the following problem:

When the use the clause MQEnvironment.hostname = " IP of the host " the application of the the mistake below:

MQJE016

When I comment the line / / MQE ...
  Topic: MQJE011: Socket connection attempt refused
garonne

Replies: 10
Views: 9022

PostForum: IBM MQ Java / JMS   Posted: Mon Aug 28, 2006 5:40 am   Subject: MQJE011: Socket connection attempt refused

Service-connection channel


I think it would be "Server connection channel".
  Topic: Non-Persistence queue PCF Command
garonne

Replies: 13
Views: 10919

PostForum: IBM MQ Java / JMS   Posted: Fri Aug 25, 2006 5:38 am   Subject: Non-Persistence queue PCF Command
Persistance only applies to individual messages. A message can be persistant and sit on a queue that has default persistance false, and a non-persistent message can sit on a queue that has default ...
  Topic: Non-Persistence queue PCF Command
garonne

Replies: 13
Views: 10919

PostForum: IBM MQ Java / JMS   Posted: Fri Aug 25, 2006 5:33 am   Subject: Non-Persistence queue PCF Command
I set defpsist of a queue to non-persistent. Then I use an application to send messages on this queue using JMS interface. After restart the Queue Manager, all the messages sit always on the queue.
...
  Topic: Non-Persistence queue PCF Command
garonne

Replies: 13
Views: 10919

PostForum: IBM MQ Java / JMS   Posted: Fri Aug 25, 2006 4:16 am   Subject: Non-Persistence queue PCF Command

http://publib.boulder.ibm.com/infocenter/wmqv6/v6r0/index.jsp?topic=/com.ibm.mq.csqzac.doc/chgq.htm
but PCF commands are not easy to work with and it would be simplier to write a script like this: ...
  Topic: Non-Persistence queue PCF Command
garonne

Replies: 13
Views: 10919

PostForum: IBM MQ Java / JMS   Posted: Fri Aug 25, 2006 1:43 am   Subject: Non-Persistence queue PCF Command
@jefflowrey:
thanks for your response. I have no performance problem and I dont try to improve queue performance. In fact, I have a workbench and a connector JCA for WSMQ. I would like to test the p ...
  Topic: Non-Persistence queue PCF Command
garonne

Replies: 13
Views: 10919

PostForum: IBM MQ Java / JMS   Posted: Thu Aug 24, 2006 7:55 am   Subject: Non-Persistence queue PCF Command
Queues don't have persistent modes or non-persistent modes.

They do have a "default persistance" parameter, though.

This parameter can be changed by ALTERing the queue, either with a PCF command ...
  Topic: Non-Persistence queue PCF Command
garonne

Replies: 13
Views: 10919

PostForum: IBM MQ Java / JMS   Posted: Thu Aug 24, 2006 7:48 am   Subject: Non-Persistence queue PCF Command
I would like to know the PCF command to change a queue on non-persistent mode.

Thanks for your help
  Topic: JMS Message -> PCF Message ?
garonne

Replies: 13
Views: 11874

PostForum: IBM MQ Java / JMS   Posted: Wed Aug 23, 2006 6:55 am   Subject: JMS Message -> PCF Message ?
Could anyone tell me what does this exception means:

com.ibm.mq.MQException: MQJE001 : Completion Code 2, reason 3001
at com.ibm.mq.pcf.MQCFH.initialize(MQCFH.java:138)
at com.ibm.mq.pcf.MQCFH. ...
  Topic: JMS Message -> PCF Message ?
garonne

Replies: 13
Views: 11874

PostForum: IBM MQ Java / JMS   Posted: Tue Aug 22, 2006 5:06 am   Subject: JMS Message -> PCF Message ?
try readFully(byte

Sorry, but I dont know why I should try this method.
I think readFully is used to read all bytes from an MQMessage on the Bytes Buffer ??
  Topic: JMS Message -> PCF Message ?
garonne

Replies: 13
Views: 11874

PostForum: IBM MQ Java / JMS   Posted: Tue Aug 22, 2006 4:44 am   Subject: JMS Message -> PCF Message ?
In fact , I got another exception:

com.ibm.mq.MQException: MQJE001 : Code achèvement 2, raison 3001
at com.ibm.mq.pcf.MQCFH.initialize(MQCFH.java:138)
at com.ibm.mq.pcf.MQCFH.<init>(MQCF ...
  Topic: JMS Message -> PCF Message ?
garonne

Replies: 13
Views: 11874

PostForum: IBM MQ Java / JMS   Posted: Tue Aug 22, 2006 4:41 am   Subject: JMS Message -> PCF Message ?
There's a reset method on the MQMessage object.

It puts the pointer into the message buffer at the start of the buffer. This pointer gets moved everytime you readXXXX or writeXXXX.

I found no m ...
  Topic: JMS Message -> PCF Message ?
garonne

Replies: 13
Views: 11874

PostForum: IBM MQ Java / JMS   Posted: Tue Aug 22, 2006 4:19 am   Subject: JMS Message -> PCF Message ?
Did you try the reset mentioned by bower5932?

I dont understand what does bower5932 means here: reset an MQMessage ? or the byte buffer? and how?
  Topic: JMS Message -> PCF Message ?
garonne

Replies: 13
Views: 11874

PostForum: IBM MQ Java / JMS   Posted: Tue Aug 22, 2006 3:14 am   Subject: JMS Message -> PCF Message ?
You have to get a Bytes Message and then get the bytes and then turn it into a PCF message.

Thanks, I have found your solution here:
http://www.mqseries.net/phpBB2/viewtopic.php?t=20832&sid=1f ...
Goto page 1, 2, 3, 4  Next Page 1 of 4

Jump to:  
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.