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 » IBM MQ Java / JMS » MQ-JMS: TopicConnectionFactory transport type

Post new topic  Reply to topic
 MQ-JMS: TopicConnectionFactory transport type « View previous topic :: View next topic » 
Author Message
radiatejava
PostPosted: Thu Nov 29, 2007 6:17 am    Post subject: MQ-JMS: TopicConnectionFactory transport type Reply with quote

Novice

Joined: 21 Nov 2007
Posts: 17

I need one info (appreciate your help): Is it necessary to set the Transport type as BIND for the TopicConnectionFactory when the client program uses bindings file for JNDI lookup?

My problem is:
Whether I make the TCF transport type as BIND or CLIENT using the JMSAdmin tool and use the client program that uses bindings file for JNDI lookups, if a publisher puts a jms TextMessage into the the topic, the subscriber receives a jms BytesMessage. Why? How to correct this?

Appreciate your reply. Thanks!
Back to top
View user's profile Send private message
Vitor
PostPosted: Thu Nov 29, 2007 6:25 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

Have you used the information in the Using Java manual, as suggested in your previous thread:

http://www.mqseries.net/phpBB2/viewtopic.php?p=198846

Because the ByteMessage/TextMessage issue sounds a lot like where that thread ended. What have you tried since? How have you recoded the TCF? What does the manual say about transport type?
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Thu Nov 29, 2007 1:36 pm    Post subject: Reply with quote

Grand High Poobah

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

Transport types have nothing to do with the .bindings file but for the fact that the definition of the qcf/tcf in the .bindings file will determine the transport type.

Furthermore you should not have anything to do with the transport type as you are given a fully initialized qcf/tcf from the JNDI lookup....

Enjoy

Maybe you should read up on how JMS works with JNDI ?
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Java / JMS » MQ-JMS: TopicConnectionFactory transport type
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.