IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
  • 1.  Utility service to find services with 'pipeline debug' type

    Posted Mon June 27, 2016 12:34 AM

    Hi Guys,

    Is there any built in util service that finds and returns all the service names that it’s property ‘pipeline debug’ to ‘save’ / ‘restore’?

    Kind regards,
    Raj


    #webMethods
    #Integration-Server-and-ESB


  • 2.  RE: Utility service to find services with 'pipeline debug' type

    Posted Mon June 27, 2016 04:43 AM

    Off the shelf there is no provided utility by SAG however you can make use of the below extended setting in your PROD environment.

    watt.server.pipeline.processor
    Specifies whether to globally enable or disable the Pipeline Debug feature. When set to true, Integration Server checks the Pipeline Debug values for the service at run time. You can view and set the Pipeline Debug values in the Properties view in Designer. When set to false, Integration Server ignores the Pipeline Debug options set for the
    service in Designer. The default is true.

    Enable this property in development environments where testing and debugging is performed. In a production environment, however, disabling this property is recommended.

    Important: You must restart Integration Server for the new value to take effect.


    #Integration-Server-and-ESB
    #webMethods


  • 3.  RE: Utility service to find services with 'pipeline debug' type

    Posted Mon June 27, 2016 04:45 AM

    For creating your own utility you may refer the Java API reference of your webMethods version.


    #webMethods
    #Integration-Server-and-ESB


  • 4.  RE: Utility service to find services with 'pipeline debug' type

    Posted Mon June 27, 2016 01:38 PM

    If you want to find these services at design time, I’d suggest you to find out how the property is saved in node.ndf and then use grep (or other tool of your choice) to find the files.


    #webMethods
    #Integration-Server-and-ESB


  • 5.  RE: Utility service to find services with 'pipeline debug' type

    Posted Mon June 27, 2016 10:16 PM

    Thanks guys for the replies. For now I’ll go with grep.


    #webMethods
    #Integration-Server-and-ESB


  • 6.  RE: Utility service to find services with 'pipeline debug' type

    Posted Wed June 29, 2016 12:57 AM

    Hi Raja Sekhar,

    Note that, in case if you really looking at scanning through all save/restore pipeline cases, then you must search for dependants of savePipeline, restorePipeline, savePipelineToFile & restorePipelineFromFile along with pipeline setting at service property level.

    Cheers,
    Ram.


    #Integration-Server-and-ESB
    #webMethods


  • 7.  RE: Utility service to find services with 'pipeline debug' type

    Posted Wed June 29, 2016 05:23 AM

    Hi Raja,

    You can refer to the below mentioned link , it has the java service to get the pipeline debug property.


    #webMethods
    #Integration-Server-and-ESB


  • 8.  RE: Utility service to find services with 'pipeline debug' type

    Posted Thu June 30, 2016 10:12 AM

    Hi,

    The values retrieved in asData/document_date are defined in com.wm.lang.ns.AuditSettings

    I use this code fragment in my getAuditInfo java service to map the value to something meaningful:

    
    
    import com.wm.lang.ns.AuditSettings;
    
    private static final MapDictionary MAP_AUDIT_SAVE_OPTIONS = new MapDictionary();
    static {
    MAP_AUDIT_SAVE_OPTIONS.put(AuditSettings.LOG_NONE,
    "Never");
    MAP_AUDIT_SAVE_OPTIONS.put(AuditSettings.LOG_WITHOUTPIPELINE, 
    "On Error");
    MAP_AUDIT_SAVE_OPTIONS.put(AuditSettings.LOG_WITHPIPELINE, 
    "Always");
    }

    Best Regards,


    #Integration-Server-and-ESB
    #webMethods