|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
MQ V7 .Net API + micro broker connectivity issues |
« View previous topic :: View next topic » |
Author |
Message
|
Qadeer_824 |
Posted: Tue Jun 30, 2009 12:42 am Post subject: MQ V7 .Net API + micro broker connectivity issues |
|
|
 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 |
|
 |
Qadeer_824 |
Posted: Tue Jun 30, 2009 5:10 am Post subject: |
|
|
 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 |
|
 |
shashikanth_in |
Posted: Thu Jul 02, 2009 9:13 pm Post subject: |
|
|
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 |
|
 |
Qadeer_824 |
Posted: Fri Jul 03, 2009 1:57 am Post subject: |
|
|
 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 |
|
 |
locked |
Posted: Fri Jul 03, 2009 5:44 am Post subject: |
|
|
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 |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|