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 API Support » MQ V7 .Net API + micro broker connectivity issues

Post new topic  Reply to topic
 MQ V7 .Net API + micro broker connectivity issues « View previous topic :: View next topic » 
Author Message
Qadeer_824
PostPosted: Tue Jun 30, 2009 12:42 am    Post subject: MQ V7 .Net API + micro broker connectivity issues Reply with quote

Acolyte

Joined: 04 Oct 2007
Posts: 59

Hi,

I would like to connect to Lotus expeditor microbroker using MQ V7 .NET API. Is it possible?

When i tried it throwed the following exception
System.ObjectDisposedException: Cannot access a disposed object.
Object name: 'IBM.XMS.Comms.Channels.SocketBasedChannel'.
at IBM.XMS.Comms.Connection.HandleSyncIo(Operation operation, IByteBuffer buffer)
at IBM.XMS.Comms.Connection.Receive(IByteBuffer buffer)
at IBM.XMS.WMQI.ConversationImpl.Receive(IByteBuffer data, Int32 offset, Int32 len)
at IBM.XMS.WMQI.ConversationImpl.RequestReplyExchange(IByteBuffer data, IByteBuffer reply)
at IBM.XMS.WMQI.NoSecurity.Authorize(IConversation conversation, Credentials credentials, Int64 timeout)
at IBM.XMS.WMQI.ClientConnectionImpl.Connect().

My code snippet is simple
XMSFactoryFactory factoryFactory = XMSFactoryFactory.GetInstance(XMSC.CT_RTT);


IConnectionFactory connectionFactory = factoryFactory.CreateConnectionFactory();


connectionFactory.SetIntProperty(XMSC.RTT_CONNECTION_PROTOCOL,XMSC.RTT_CP_TCP);

connectionFactory.SetStringProperty(XMSC.RTT_HOST_NAME, "localhost");


connectionFactory.SetIntProperty(XMSC.RTT_PORT,1506);



IConnection connection = connectionFactory.CreateConnection();

It throwed error on last connection. Did anyone tried this.


TIA
Back to top
View user's profile Send private message Yahoo Messenger
Qadeer_824
PostPosted: Tue Jun 30, 2009 5:10 am    Post subject: Reply with quote

Acolyte

Joined: 04 Oct 2007
Posts: 59

I have somehow created a jms queue on micro broke rand bind it on JNDI. Now I need to retrieve it using .NET MQ V7 API. I heard from somewhere that XMS provides lookup methods to LDAP. Please share your inputs.

TIA
Back to top
View user's profile Send private message Yahoo Messenger
shashikanth_in
PostPosted: Thu Jul 02, 2009 9:13 pm    Post subject: Reply with quote

Centurion

Joined: 26 Feb 2009
Posts: 123

You are using XMS .NET APIs, not MQ V7 .NET APIs. Please note XMS .NET does not support connections to Microbroker. It supports connection to Real Time Transport, WMQ and WPM.
Back to top
View user's profile Send private message
Qadeer_824
PostPosted: Fri Jul 03, 2009 1:57 am    Post subject: Reply with quote

Acolyte

Joined: 04 Oct 2007
Posts: 59

Hi shashikanth,

Thanks for the reply, I am totally new to microbroker. I would like to know is there any way a .NET application can connect to microbroker?

TIA
Back to top
View user's profile Send private message Yahoo Messenger
locked
PostPosted: Fri Jul 03, 2009 5:44 am    Post subject: Reply with quote

Newbie

Joined: 03 Jul 2009
Posts: 1

the version of micro broker in the field does not have a .Net interface. But it is a requirement that has been requested by many customers and one which we are keen to fulfil.

If you cannot wait until a .Net interface is available, one alternative is to use http from .Net into the Web Container of Lotus Expeditor then have a simple web app that converts the http request to a message/ micro broker request.
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 » IBM MQ API Support » MQ V7 .Net API + micro broker connectivity issues
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.