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 » Broker 8.0.2 Applications and Libraries

Post new topic  Reply to topic
 Broker 8.0.2 Applications and Libraries « View previous topic :: View next topic » 
Author Message
gfrench
PostPosted: Wed May 22, 2013 2:30 am    Post subject: Broker 8.0.2 Applications and Libraries Reply with quote

Acolyte

Joined: 10 Feb 2002
Posts: 71

I've written a simple procedure in a library:-

Code:

BROKER SCHEMA simple.com

CREATE PROCEDURE OddEven(
            IN parm1 INT,
            OUT parm2 CHAR)
    BEGIN
        IF MOD(parm1, 2) = 0 THEN
            SET parm2 = 'EVEN123';
        ELSE
            SET parm2 = 'Odd123';
        END IF;   
        RETURN;
    END;


And I've created a simple flow in an Application that calls it.

If I want a flow without errors the Application properties have to reference the library.

When I compile the application into a bar file without "compile and in-line resource" selected it creates a bar with the library inside. This appears to be the one it uses and even if I update the procedure and deploy it by itself the application still used the original one deployed.

How do I deploy just the amended library?

I thought this was all fixed in 8.0.2. Am I doing something wrong or is this not how it works?

Thanks
Back to top
View user's profile Send private message Send e-mail Visit poster's website
McueMart
PostPosted: Wed May 22, 2013 3:04 am    Post subject: Reply with quote

Chevalier

Joined: 29 Nov 2011
Posts: 490
Location: UK...somewhere

Currently, the whole of the Application must be redeployed if any of the libraries it depends on are modified.

There has been much debate (concern?) about this and I would expect to see changes in the future.
Back to top
View user's profile Send private message
McueMart
PostPosted: Wed May 22, 2013 3:20 am    Post subject: Reply with quote

Chevalier

Joined: 29 Nov 2011
Posts: 490
Location: UK...somewhere

Relevant RFE: www.ibm.com/developerworks/rfe/execute?use_case=viewRfe&CR_ID=19930
Back to top
View user's profile Send private message
gfrench
PostPosted: Wed May 22, 2013 4:56 am    Post subject: Reply with quote

Acolyte

Joined: 10 Feb 2002
Posts: 71

So what you're saying is I completely missed the point on version 8 and a library is a logical grouping and type only, rather than a technical improvement. It means I can now call a previously name project "CommonFunctionsLIbrary" CommonFunctions and have it as a Library type.

And the 'compile in-line resources' isn't a choose whether you want to embed the library or leave it as a separate resource for independent deployment. Its a do you want ESQL or cmf in your bar, which I don't really care about.

No wonder its subject to an enhancement request. There was a lot of smoke and mirrors in the 8 announcement that made it look really useful!
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Broker 8.0.2 Applications and Libraries
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.