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 Discussion » We need to connect to a remote MQ server ... without MQ

Post new topic  Reply to topic Goto page Previous  1, 2, 3, 4, 5, 6, 7  Next
 We need to connect to a remote MQ server ... without MQ « View previous topic :: View next topic » 
Author Message
serpota
PostPosted: Thu Feb 02, 2012 6:37 am    Post subject: Reply with quote

Voyager

Joined: 26 May 2006
Posts: 85

bruce2359 wrote:
...puts your career at risk.

The chinese symbol of "crisis" has 2 meanings/translations ...
a) risk, danger
b) oportunity, chance



Have a nice day.
Back to top
View user's profile Send private message
Vitor
PostPosted: Thu Feb 02, 2012 6:55 am    Post subject: Reply with quote

Grand High Poobah

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

serpota wrote:
The chinese symbol of "crisis" has 2 meanings/translations ...
a) risk, danger
b) oportunity, chance


Ably demonstrated in this example. There's a risk this lash up will collapse in production some time after implementation, a danger that a huge lawsuit will be the last straw for the cash strapped organisation you work for (we started this trying to save WMQ license fees), an oppertunity for a lot of lawyers to get even richer and a fair chance you'll be retired before this all goes down.

Just commute your pension as a lump sum & don't leave an address you're retiring to.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
serpota
PostPosted: Thu Feb 02, 2012 7:02 am    Post subject: Reply with quote

Voyager

Joined: 26 May 2006
Posts: 85

Heard it loud and clear ... and understood ... Thanks, Vitor.

Here is what I am reading right now :

>>> http://activemq.2283324.n4.nabble.com/ActiveMQ-integration-with-WebSphere-MQ-td3550031.html

(copy and paste ...)

ActiveMQ can talk to IBM's MQ via the "jmsBridgeConnectors"

I've tested it in 5.5 successfully.
I defined a remote ConnectionFactory like so:

<bean id="remoteBlueFactory" class="com.ibm.mq.jms.MQQueueConnectionFactory">
<property name="transportType" value="1"/>
<property name="hostName" value="ibmbrokerhost1"/>
<property name="port" value="1414"/>
<property name="queueManager" value="QMGRNAME"/>
<property name="channel" value="UNSECURE.BKR.CHANNEL"/>
</bean>

We saw an issue where ActiveMQ needed to be restarted to send messages "stuck" while the IBM MQ was down, but ...

======================
Cheers.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Thu Feb 02, 2012 7:07 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

serpota wrote:
Heard it loud and clear ... and understood ... Thanks, Vitor.

Here is what I am reading right now :

>>> http://activemq.2283324.n4.nabble.com/ActiveMQ-integration-with-WebSphere-MQ-td3550031.html

(copy and paste ...)

ActiveMQ can talk to IBM's MQ via the "jmsBridgeConnectors"


serpota wrote:
using "server" interface (not MQ Client API), but cant use MQ product.


You're using the MQ Client API to do this.
Back to top
View user's profile Send private message
Vitor
PostPosted: Thu Feb 02, 2012 7:08 am    Post subject: Reply with quote

Grand High Poobah

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

serpota wrote:
ActiveMQ can talk to IBM's MQ via the "jmsBridgeConnectors"


Of course it can. Any JMS-aware piece of software can.

serpota wrote:
I defined a remote ConnectionFactory like so:

<bean id="remoteBlueFactory" class="com.ibm.mq.jms.MQQueueConnectionFactory">
<property name="transportType" value="1"/>
<property name="hostName" value="ibmbrokerhost1"/>
<property name="port" value="1414"/>
<property name="queueManager" value="QMGRNAME"/>
<property name="channel" value="UNSECURE.BKR.CHANNEL"/>
</bean>


The definition of a WMQ client connection. Which I think was suggested way back, has it's own issues and is a mile away from what you originally wanted which was a non-IBM queue manager your end for the remote queue manager to talk to over a sender channel.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
serpota
PostPosted: Thu Feb 02, 2012 7:22 am    Post subject: Reply with quote

Voyager

Joined: 26 May 2006
Posts: 85

... Thanks Jeff and Vitor - you are both right ... of course.

I was just reading the forums ... before posting ... as I learned here

jejeje
Back to top
View user's profile Send private message
serpota
PostPosted: Thu Feb 02, 2012 7:28 am    Post subject: Reply with quote

Voyager

Joined: 26 May 2006
Posts: 85

Guess now I can improve my question a bit ... becoming ...

Can we use "MQ Connection Factory" to acces the "MQ Server API" ?

Any pointers, urls, etc .. are welcome.

Maybe I need a JMS forum better ...
Back to top
View user's profile Send private message
bruce2359
PostPosted: Thu Feb 02, 2012 7:37 am    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9475
Location: US: west coast, almost. Otherwise, enroute.

More accurately, you came to us with a specific, technical solution in mind - an absolute requirement.

Whoever gave you this requirement did not understand the WMQ product, and the products (IBM and other) that can work with WMQ. This person made a fundamental error in judgement.

Unfortunately, this is not all that unusual.
_________________
I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live.
Back to top
View user's profile Send private message
serpota
PostPosted: Thu Feb 02, 2012 7:42 am    Post subject: Reply with quote

Voyager

Joined: 26 May 2006
Posts: 85

Bruce : you are absolutely right - the man who came to me had no idea of MQ. He had a bussines opportunity they call, replacing a SMS-application MQ-based messaging server with they own server (without MQ). He searches and wants to pay some tech person (maybe me) to connect MQ SRVR channel to JMS ... so here we are.
Sorry we cant use Client API, jejeje.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Thu Feb 02, 2012 7:54 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

serpota wrote:
Can we use "MQ Connection Factory" to acces the "MQ Server API" ?


As has been said several times in this thread, the only thing that can connect to a channel that is NOT a SVRCONN is another queue manager.

This means that JMS can't do it either! NOTHING ELSE can use the MQ Server API except a queue manager.

Ask him to explain how you can drive a lamborghini without owning a lamborghini, and then you will tell him how to use an MQ server without owning an MQ Server.
Back to top
View user's profile Send private message
Vitor
PostPosted: Thu Feb 02, 2012 8:41 am    Post subject: Reply with quote

Grand High Poobah

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

serpota wrote:
Can we use "MQ Connection Factory" to acces the "MQ Server API" ?


Yes. If you have the MQ server installed (the licensed component that supports a running queue manager).
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
serpota
PostPosted: Fri Feb 03, 2012 3:59 am    Post subject: Reply with quote

Voyager

Joined: 26 May 2006
Posts: 85

mqjeff wrote:
As has been said several times in this thread, the only thing that can connect to a channel that is NOT a SVRCONN is another queue manager.

This means that JMS can't do it either! NOTHING ELSE can use the MQ Server API except a queue manager.

Ask him to explain how you can drive a lamborghini without owning a lamborghini, and then you will tell him how to use an MQ server without owning an MQ Server.


Got it, Jeff. Loud and Clear. Thanks alot.
Back to top
View user's profile Send private message
serpota
PostPosted: Fri Feb 03, 2012 4:04 am    Post subject: Reply with quote

Voyager

Joined: 26 May 2006
Posts: 85

Vitor wrote:
serpota wrote:
Can we use "MQ Connection Factory" to acces the "MQ Server API" ?


Yes. If you have the MQ server installed (the licensed component that supports a running queue manager).


Well, for me, the MQ Server API is represented by "MQM.DLL" ... not by the complete MQ Server product ...

So maybe I can have the DLL without the rest ...

No ?
Back to top
View user's profile Send private message
mqjeff
PostPosted: Fri Feb 03, 2012 4:29 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

The only thing that mqm.dll would allow you to connect to is a queue manager running on the same machine.

You can certainly copy mqm.dll from one machine to another, and run the risk that it might actually work until the wrong moment.

You could indeed perform a full server product install on a machine and not pay a license for that because you are not running a queue manager. But it doesn't let you do anything, because you're not running a queue manager...
Back to top
View user's profile Send private message
Vitor
PostPosted: Fri Feb 03, 2012 6:13 am    Post subject: Reply with quote

Grand High Poobah

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

serpota wrote:
Well, for me, the MQ Server API is represented by "MQM.DLL" ... not by the complete MQ Server product ...

So maybe I can have the DLL without the rest ...

No ?


Yes. And what do you think it's going to connect to? It's the server api that connects to the server components. It's the client api that connects to components hosted at any location via the network. It certainly won't allow you to receive traffic sent by a remote queue manager over a sender channel to the host where you're running this lash up.

No matter how much you thrash around like a fish on a hook, it won't change the fact you're caught.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Goto page Previous  1, 2, 3, 4, 5, 6, 7  Next Page 6 of 7

MQSeries.net Forum Index » General Discussion » We need to connect to a remote MQ server ... without MQ
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.