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 » Parser options in java

Post new topic  Reply to topic Goto page Previous  1, 2
 Parser options in java « View previous topic :: View next topic » 
Author Message
Vitor
PostPosted: Mon Jun 04, 2012 9:21 am    Post subject: Reply with quote

Grand High Poobah

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

mqjeff wrote:
http://www.ibm.com/developerworks/rfe/execute?use_case=viewRfe&CR_ID=22420




Votes mean changes!
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Mon Jun 04, 2012 9:27 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

Vitor wrote:
RB wrote:
We have a generic wrapper and depending upon the values in the message, flow dynamically invokes the specific class which has the transformation logic.


Effectively the oft-used model where WMB is deployed as a WAS server that does tricks?

That's not complex, that's simplistic.


It also makes it very very difficult to do reasonable change management.
Back to top
View user's profile Send private message
RB
PostPosted: Mon Jun 04, 2012 8:43 pm    Post subject: Reply with quote

Acolyte

Joined: 23 May 2006
Posts: 56

lancelotlinc,

I cannot modify the flows to even add a node. There are hundreds of different messages handled by the flow and we cannot create an alternate path just for this scenario! That's why I wanted to check if there is any way we can specify the options in java parsing, just like the way we can do in message flows and ESQL!

Regards,
RB
Back to top
View user's profile Send private message
mqjeff
PostPosted: Tue Jun 05, 2012 2:47 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

RB wrote:
I cannot modify the flows to even add a node. There are hundreds of different messages handled by the flow and we cannot create an alternate path just for this scenario!


Again.

You CANNOT DO THIS.

And on top of that, you CANNOT SPECIFY OPTIONS USING JAVA.

So you have Two things that You CANNOT do, and yet you still must do SOMETHING.

So you therefore must do SOMETHING ELSE.

I.e. create a new flow.

You have NO OTHER OPTION.
Back to top
View user's profile Send private message
lancelotlinc
PostPosted: Tue Jun 05, 2012 4:26 am    Post subject: Reply with quote

Jedi Knight

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

RB wrote:
lancelotlinc,

I cannot modify the flows to even add a node. There are hundreds of different messages handled by the flow and we cannot create an alternate path just for this scenario! That's why I wanted to check if there is any way we can specify the options in java parsing, just like the way we can do in message flows and ESQL!

Regards,
RB


Your System Architect is daft. You guys really painted yourselves into a corner. A skilled architect would design flexibility into the architecture. I cannot think of any scenario worse than this since, even with mainframe Cobol, you can send MQ messages anywhere you want.
_________________
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
Esa
PostPosted: Tue Jun 05, 2012 4:37 am    Post subject: Reply with quote

Grand Master

Joined: 22 May 2008
Posts: 1387
Location: Finland

@RB

A framework flow like the one you are using should be configurable. It should use UDPs and/or promoted properties to make it possible to adapt it to different situations. You shoud ask your architects if they could make it possible to configure validation on the MQOutput node or whichever output node you are using...
Back to top
View user's profile Send private message
mqjeff
PostPosted: Tue Jun 05, 2012 4:43 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

RB - you need to discuss this situation with your architect and make sure they understand the tradeoffs they have made and how it impacts your situation. It seems that they have taken a lot of effort to ensure that their broker environment is 'easy to deploy', without understanding what 'easy to deploy' really means.

This architecture clearly didn't consider the notion of validation of data very well, and that should have been part and parcel of any integration solution.

Once you have had that discussion, your architect may provide you with some remediation.

If not, you can run some experiments to see if you can use ASBITSTREAM from within an MbSQLStatement object. If it works, you need to make clear to the architect that this still represents a fatal flaw in their design and something needs to be changed.
Back to top
View user's profile Send private message
RB
PostPosted: Tue Jun 12, 2012 9:21 pm    Post subject: Reply with quote

Acolyte

Joined: 23 May 2006
Posts: 56

Thanks for all your suggestions! (and sorry for the delay in the response)

Our integration layer has two products - Data Power and MB. Most of the time, messages will be coming to DP first and gets routed to MB only in case of specific transformation requirements which cannot be addressed in DP with the current framework. Though the generic architecture in MB is to carry the message in the payload section of a generic wrapper and do the transformations in java, it does have the flexibility of sending to a dedicated message flow and do the transformations (though this is not recommended much by the architects here!)

So in our case, I wanted to see if I could implement the parsing logic in Java itself which would have been much easier than pushing these validations to the DP components or adding a separate message flow just for this purpose! I think we don't have any other option than to go for one of these!

Regards,
Rijesh
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 Page 2 of 2

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Parser options in java
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.