Skip to content

Martini Video Tutorials - Basic Services

This section provides a comprehensive overview of creating and managing basic services within the Martini platform. These tutorials will help you understand the fundamentals of service creation, invocation, and error handling, empowering you to build effective integrations and workflows.

Topics Covered

  1. Basic Services Introduction: Get started with an overview of basic services in Martini. This tutorial introduces you to the core concepts and benefits of using basic services to build integrations.

  2. Creating Basic Services: Learn how to create basic services from scratch. This tutorial covers the steps involved in defining and implementing a service within the Martini platform.

  3. Invoking Services: Explore different methods for invoking services, including:

    • Manually: Understand how to invoke services manually for testing and debugging purposes.
    • Via HTTP: Learn how to invoke services using HTTP requests.
    • Via a Trigger: Discover how to set up various triggers for automatic service invocation, including:

    • Scheduler Trigger: Automate service invocation based on a schedule.

    • JMS Trigger: Invoke services based on JMS messages.
    • Email Trigger: Set up services triggered by incoming emails.
    • FTP Trigger: Trigger services based on FTP events.
    • HTTP Filter Trigger: Invoke services based on HTTP request filtering.
    • XMPP Trigger: Trigger services using XMPP messages.
    • Redis Listener Trigger: Invoke services from events in Redis.
    • RSS Trigger: Trigger services based on RSS feed updates.
    • Tracker Resubmit Trigger: Resubmit tracker events to a service.
    • URL Alias Trigger: Trigger services based on URL aliases.

    • Via an API: Learn how to invoke services programmatically via the Martini API.

  4. Step Operations: Delve into the various step operations available in Martini services, including:

    • Map Step: Use the Map Step to transform data as it flows through your service.
    • Fork Step: Create parallel execution paths in your workflows.
    • Block Step: Group steps and wrap them in TryCatch or TryFinally parts.
    • Iterate Step: Loop through collections of data and process each item.
    • While Step: Create conditional loops that execute while a condition is true.
    • Break Step: Exit a loop prematurely based on specific conditions.
    • Script Step: Execute custom scripts within your workflow.
    • Concurrent Step: Execute multiple steps in parallel to optimize performance.
    • Random Step: Randomly select one of several configured paths for variability.
  5. Error Handling: Learn how to effectively handle errors in your services. This section covers the basics of error handling, logging, and custom exceptions:

  6. Debugging Basic Services: Explore techniques for debugging your basic services to efficiently troubleshoot and resolve issues.