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 IndexWebSphere Message Broker SupportDeploy particular flows within an Application Only - iiB v10

Post new topicReply to topic
Deploy particular flows within an Application Only - iiB v10 View previous topic :: View next topic
Author Message
Ramphart
PostPosted: Wed Jun 20, 2018 3:26 am Post subject: Deploy particular flows within an Application Only - iiB v10 Reply with quote

Centurion

Joined: 21 Jul 2004
Posts: 141
Location: South Africa, JHB

Running on: iiB Version 10.0.0.11, Windows Server 2012 R2

Please advise if there is a way to select specific message flows within an Application when building a bar file for deployment (whether the message flows is under the same broker schema or a different broker schema).

My Scenario:
Code:

Application_A
--schema_1
----MessageFlow_1.msgflow
--schema_2
----MessageFlow_2.msgflow


From the example above I'd like to be able to select and deploy say MessageFlow_2.msgflow only. When building the bar file the only option available is to select the whole Application_A which includes all the flows under Application_A.

Your assistance is appreciated.
_________________
Senior Applications Architect
Back to top
View user's profile Send private message
martinb
PostPosted: Wed Jun 20, 2018 3:35 am Post subject: Reply with quote

Disciple

Joined: 09 Nov 2006
Posts: 191
Location: UK

That's by design, Applications are a container for all the resources that are required to create a solution.
Back to top
View user's profile Send private message
Ramphart
PostPosted: Wed Jun 20, 2018 3:41 am Post subject: Reply with quote

Centurion

Joined: 21 Jul 2004
Posts: 141
Location: South Africa, JHB

martinb wrote:
That's by design, Applications are a container for all the resources that are required to create a solution.


Pity they've changed it to work this way. Use to be better in the older version like Message Broker 7 where you had the flexibility to choose exactly what you want to deploy.

Thx for the feedback though.
_________________
Senior Applications Architect
Back to top
View user's profile Send private message
Vitor
PostPosted: Wed Jun 20, 2018 5:38 am Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 25045
Location: Ohio, USA

Flows are still supported as independent resources and can be deployed that way.

I think you'll find the benefits of using an application outweighs the problems.

Look at it this way - why would you not want to deploy an entire application? If you have flows that that shouldn't be deployed at the same time as other flows, why are they in the same application?

Or more extreme, what advantages are you getting from applications? If you're not, use independent resources.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
timber
PostPosted: Wed Jun 20, 2018 8:10 am Post subject: Reply with quote

Shaman

Joined: 25 Aug 2015
Posts: 793

The usual reason for wanting to reduce the scope of deployment is a lack of trust in the build and release process.

But if you have a scripted build and deploy pipeline then you don't need to worry about accidentally deploying changed code. The pipeline deploys exactly what's in the release branch. The version control system can tell you exactly how it differs from what you deployed last time.
Back to top
View user's profile Send private message
Ramphart
PostPosted: Wed Jun 20, 2018 10:50 am Post subject: Reply with quote

Centurion

Joined: 21 Jul 2004
Posts: 141
Location: South Africa, JHB

Vitor wrote:
Flows are still supported as independent resources and can be deployed that way.

I think you'll find the benefits of using an application outweighs the problems.

Look at it this way - why would you not want to deploy an entire application? If you have flows that that shouldn't be deployed at the same time as other flows, why are they in the same application?

Or more extreme, what advantages are you getting from applications? If you're not, use independent resources.


Independent projects would be the way to go to achieve this yes.

In my opinion a better design would have been to allow one to select on schema level within an Application when adding to the bar files. All flows within the schema could then relate to one process and all the schemas combined could relate to an overall project. For instance in a B2B project you could have an Application called B2B with schemas for say Invoicing, Orders, Remittances, CreditNotes, etc. With the current design "restrictions" you'll need an Application for Invoicing, Application for Orders, Application for Remitances, etc.

In this way you'll get the benefits associated with an Application combined with a better logical way to group related processes within a business and the flexibility to select only the processes (schema with all its flows) from the Application which is ready to be deployed.
_________________
Senior Applications Architect
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Wed Jun 20, 2018 7:12 pm Post subject: Reply with quote

Grand Poobah

Joined: 18 Nov 2003
Posts: 19701
Location: LI,NY

And this would be potentially a very bad thing.
Think about all the functions that your B2B application does, and know that you will most probably encounter the need to scale those function independently.

Having each of these function in its own application will allow you to scale differently depending on the function performed. I am not here talking about vertical scaling (number of instances for a flow) but more about horizontal scaling (number of integration nodes it is deployed to).

Have fun
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
Ramphart
PostPosted: Wed Jun 20, 2018 10:40 pm Post subject: Reply with quote

Centurion

Joined: 21 Jul 2004
Posts: 141
Location: South Africa, JHB

fjb_saper wrote:
And this would be potentially a very bad thing.
Think about all the functions that your B2B application does, and know that you will most probably encounter the need to scale those function independently.

Having each of these function in its own application will allow you to scale differently depending on the function performed. I am not here talking about vertical scaling (number of instances for a flow) but more about horizontal scaling (number of integration nodes it is deployed to).

Have fun


The scaling issue would come down to the same thing if you have one B2B Application and put all the different depending functions under that application. An independent project allows this design (potential danger) anyway. It's still a pity that one cannot select the functions that is ready to be deployed from within an Application.

Thank you all for the feedback. It's been helpful. Appreciated
_________________
Senior Applications Architect
Back to top
View user's profile Send private message
Vitor
PostPosted: Wed Jun 20, 2018 11:59 pm Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 25045
Location: Ohio, USA

I stand with my worthy associates on this. You clearly have to do what's best in your circumstances by your own lights but i do fear you're making a rod for your own back.

Good fortune to you.
_________________
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 topicReply to topic Page 1 of 1

MQSeries.net Forum IndexWebSphere Message Broker SupportDeploy particular flows within an Application Only - iiB v10
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.