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 » WebSphere Message Broker (ACE) Support » Using message Outside Broker

Post new topic  Reply to topic
 Using message Outside Broker « View previous topic :: View next topic » 
Author Message
SOAIntegration
PostPosted: Fri Mar 02, 2012 1:15 pm    Post subject: Using message Outside Broker Reply with quote

Newbie

Joined: 07 Dec 2010
Posts: 7

Hello,
As we can use message set parsing and converting message using Java code from Java compute node, is it possible to use the same code (using MB Java API) outside broker (i mean deploying this java code on any application server like WAS) to acheive the same?

if so i can make java code to refer to message set? can export message set to any different format and attach along ear getting deployed to WAS?

please let me know any other such options.

All i am looking is to make use of message set but not with Broker, i fine to use any Jars or API provided by IBM and Java

regards
IU
Back to top
View user's profile Send private message
mqjeff
PostPosted: Fri Mar 02, 2012 1:18 pm    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

There is absolutely no way to do what you want.

Give up right now.
Back to top
View user's profile Send private message
Vitor
PostPosted: Fri Mar 02, 2012 1:31 pm    Post subject: Re: Using message Outside Broker Reply with quote

Grand High Poobah

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

SOAIntegration wrote:
if so i can make java code to refer to message set? can export message set to any different format and attach along ear getting deployed to WAS?


No. There isn't.

SOAIntegration wrote:
All i am looking is to make use of message set but not with Broker, i fine to use any Jars or API provided by IBM and Java


Why would you want to do this? There's no good reason I can think of why you'd want to.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
lancelotlinc
PostPosted: Fri Mar 02, 2012 1:50 pm    Post subject: Reply with quote

Jedi Knight

Joined: 22 Mar 2010
Posts: 4941
Location: Bloomington, IL USA

Message sets combine with Parsers to form a high-speed routing and transformation engine.

What would be the point of receiving a message in Broker and calling a WAS EAR to do something? What could you do in the EAR that you could not do with Broker? (Don't think too hard about that question, it's rhetorical -- there is nothing Broker cannot do that WAS can.)

If you prefer to write code for WAS containers, why are you trolling here?
_________________
http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER
Back to top
View user's profile Send private message Send e-mail
Vitor
PostPosted: Fri Mar 02, 2012 1:54 pm    Post subject: Reply with quote

Grand High Poobah

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

lancelotlinc wrote:
What would be the point of receiving a message in Broker and calling a WAS EAR to do something?


If I read the original post correctly, the intention is the opposite; to build the message set parsing capability of WMB inside the WAS java code rather than the usual attempt to treat WMB as if it's WAS & put MDBs in the JCNs.

But whichever way up it is, it's pointless, wasteful, impossible, etc, etc, etc.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
kimbert
PostPosted: Fri Mar 02, 2012 2:36 pm    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

Or, better: "Message sets combine with Parsers and a range of transformation languages to form a high-speed routing and transformation engine."

You can't perform the routing and transformation using only a message set and a parser - you need at least one transformation language. Arguably, this is one of the strengths of WMB - Java is only one of several ways in which you can modify the message on the way through a flow.

And in case the OP or any other future reader gets the wrong idea, WMB is not only a routing and transformation engine. It has a very wide range of input and output transports/protocols ( MQ, File, TCP/IP, HTTP, SOAP etc ).
Back to top
View user's profile Send private message
smdavies99
PostPosted: Fri Mar 02, 2012 10:47 pm    Post subject: Re: Using message Outside Broker Reply with quote

Jedi Council

Joined: 10 Feb 2003
Posts: 6076
Location: Somewhere over the Rainbow this side of Never-never land.

SOAIntegration wrote:

All i am looking is to make use of message set but not with Broker,


There is nothing stopping you from generating an XSD from a message set and using that in other tools/products. This is how we export XSD's and WSDL's to other systems to be used in an SOA environment (It works the other way as well).

Otherwise, what has already been said holds true.
_________________
WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995

Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions.
Back to top
View user's profile Send private message
mqsiuser
PostPosted: Sat Mar 03, 2012 2:03 am    Post subject: Re: Using message Outside Broker Reply with quote

Yatiri

Joined: 15 Apr 2008
Posts: 637
Location: Germany

That is a very nice statement smdavies99... xsds, wsdls can (and really are intended) to be reused. @OP: And Broker is unique... adding to kimbert, I'd say it also handles a lot of (legacy) codepages (and encodings) for you and works (great) together with (the reliable messaging engine) MQ... which is used a lot (e.g. in banks).
_________________
Just use REFERENCEs
Back to top
View user's profile Send private message
mqjeff
PostPosted: Sat Mar 03, 2012 7:05 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

All of that said, the new parser in v8, DFDL, is an open source message modelling standard. You might find a Java based open source parser.

But that means you'll have to learn and use DFDL instead of MRM. There's *no way* to use MRM *outside* of Broker.
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 » WebSphere Message Broker (ACE) Support » Using message Outside Broker
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.