Author |
Message
|
SOAIntegration |
Posted: Fri Mar 02, 2012 1:15 pm Post subject: Using message Outside Broker |
|
|
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 |
|
 |
mqjeff |
Posted: Fri Mar 02, 2012 1:18 pm Post subject: |
|
|
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 |
|
 |
Vitor |
Posted: Fri Mar 02, 2012 1:31 pm Post subject: Re: Using message Outside Broker |
|
|
 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 |
|
 |
lancelotlinc |
Posted: Fri Mar 02, 2012 1:50 pm Post subject: |
|
|
 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 |
|
 |
Vitor |
Posted: Fri Mar 02, 2012 1:54 pm Post subject: |
|
|
 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 |
|
 |
kimbert |
Posted: Fri Mar 02, 2012 2:36 pm Post subject: |
|
|
 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 |
|
 |
smdavies99 |
Posted: Fri Mar 02, 2012 10:47 pm Post subject: Re: Using message Outside Broker |
|
|
 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 |
|
 |
mqsiuser |
Posted: Sat Mar 03, 2012 2:03 am Post subject: Re: Using message Outside Broker |
|
|
 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 |
|
 |
mqjeff |
Posted: Sat Mar 03, 2012 7:05 am Post subject: |
|
|
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 |
|
 |
|