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 » General IBM MQ Support » VB TRANSPORT_PROPERTY

Post new topic  Reply to topic
 VB TRANSPORT_PROPERTY « View previous topic :: View next topic » 
Author Message
solkit
PostPosted: Thu Jun 15, 2006 8:12 am    Post subject: VB TRANSPORT_PROPERTY Reply with quote

Novice

Joined: 25 May 2006
Posts: 21

I'm trying to make connection from JAVA, VB Client to Queue manager in MQ Server.

JAVA Application works successfully but VB Application always fails.

The error code is 2059 (MQRC_Q_MGR_NOT_AVAILABLE)

I compared JAVA Application with VB Application.

The only diffrence between JAVA and VB is MQEnvironment.properties.put(MQC.TRANSPORT_PROPERTY, MQC.TRANSPORT_MQSERIES);

There is the option in JAVA application but not in VB.

I'd like to know how I can set MQC.TRANSPORT_PROPERTY, MQC.TRANSPORT_MQSERIES options in VB Application.

Anybody knows?
_________________
^^ have a good day ^^
Back to top
View user's profile Send private message Send e-mail MSN Messenger
EddieA
PostPosted: Thu Jun 15, 2006 8:43 am    Post subject: Reply with quote

Jedi

Joined: 28 Jun 2001
Posts: 2453
Location: Los Angeles

Quote:
The only diffrence between JAVA and VB is MQEnvironment.properties.put(MQC.TRANSPORT_PROPERTY, MQC.TRANSPORT_MQSERIES);

That won't cause a 2059. That's telling the Java program to write a "normal" MQ message instead of a JMS message. there is no equivalent in VB.

Cheers,
_________________
Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Thu Jun 15, 2006 12:40 pm    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

To be clearer, what EddieA means is that the VB/.NET interface doesn't have a notion of the JMS Header (except as a pure MQRFH2 header), and so there isn't a switch that controls whether the .NET interface will put a message with the MQRFH2 or without an MQRFH2 - which the MQC.TRANPSORT_PROPERTY in Java controls.

On the other hand, what you are actually looking for is
http://www.mqseries.net/phpBB2/viewtopic.php?p=140060#140060

This will allow you to not receive a 2059.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
solkit
PostPosted: Fri Jun 16, 2006 4:04 am    Post subject: Reply with quote

Novice

Joined: 25 May 2006
Posts: 21

jefflowrey wrote:
To be clearer, what EddieA means is that the VB/.NET interface doesn't have a notion of the JMS Header (except as a pure MQRFH2 header), and so there isn't a switch that controls whether the .NET interface will put a message with the MQRFH2 or without an MQRFH2 - which the MQC.TRANPSORT_PROPERTY in Java controls.

On the other hand, what you are actually looking for is
http://www.mqseries.net/phpBB2/viewtopic.php?p=140060#140060

This will allow you to not receive a 2059.


Thank you very much... ^^

Anyway I'm leaving Holland.. go back to Korea.

All the guys who helped me, Thank you very much....

I'm travelling Paris on this weekend and Hannover on next weekend ^^

Thanks again, if anybody come to Korea just mail me ^^ solkit70@yahoo.co.kr.

Bye...~~
_________________
^^ have a good day ^^
Back to top
View user's profile Send private message Send e-mail MSN Messenger
fjb_saper
PostPosted: Sat Jun 17, 2006 5:00 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

jefflowrey wrote:
To be clearer, what EddieA means is that the VB/.NET interface doesn't have a notion of the JMS Header (except as a pure MQRFH2 header), and so there isn't a switch that controls whether the .NET interface will put a message with the MQRFH2 or without an MQRFH2 - which the MQC.TRANPSORT_PROPERTY in Java controls.

On the other hand, what you are actually looking for is
http://www.mqseries.net/phpBB2/viewtopic.php?p=140060#140060

This will allow you to not receive a 2059.


I am getting confused here. I thought that part (MQRFH2) was controlled by the targetClient property (JMS).
The Transport property controls whether you plan on making a server or a client connection and the different flavors thereof??



_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
jefflowrey
PostPosted: Sun Jun 18, 2006 6:11 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

I was just repeating EddieA's mistake...
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » VB TRANSPORT_PROPERTY
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


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

Copyright © MQSeries.net. All rights reserved.