<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Marko Huzanić on Medium]]></title>
        <description><![CDATA[Stories by Marko Huzanić on Medium]]></description>
        <link>https://medium.com/@marko.huzanic?source=rss-7273122e883b------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*g4PX0zyB-dlNhve34I5Rdw.jpeg</url>
            <title>Stories by Marko Huzanić on Medium</title>
            <link>https://medium.com/@marko.huzanic?source=rss-7273122e883b------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 28 Nov 2026 16:31:27 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@marko.huzanic/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[How MuleSoft Licensing Can Change the Way We Build Integrations]]></title>
            <link>https://medium.com/@marko.huzanic/how-mulesoft-licensing-can-change-the-way-we-build-integrations-3bab1272a69c?source=rss-7273122e883b------2</link>
            <guid isPermaLink="false">https://medium.com/p/3bab1272a69c</guid>
            <category><![CDATA[integration]]></category>
            <category><![CDATA[anypoint-platform]]></category>
            <category><![CDATA[mulesoft]]></category>
            <category><![CDATA[architecture]]></category>
            <dc:creator><![CDATA[Marko Huzanić]]></dc:creator>
            <pubDate>Wed, 21 Oct 2026 09:28:36 GMT</pubDate>
            <atom:updated>2026-10-21T09:28:36.858Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fqKf3Gu9zc2E7M_JV7a_TA.png" /></figure><p>When I started working with MuleSoft, licensing wasn’t something I paid much attention to while developing an API.</p><p>Of course, licensing was always part of the bigger picture. We had to consider how many vCores were available, how many applications we could deploy, and whether our workers had enough capacity.</p><p>But I never really thought about how adding one more flow or choosing a different component could directly influence licensing consumption which changes with usage-based pricing.</p><p>And now, with Mule Credits, understanding what our applications consume has become even more relevant.</p><h3>1. First, What’s Different About the Licensing Models?</h3><p>I won’t go too deep into licensing details here. MuleSoft already has documentation covering that. What matters for this discussion is how each model influences our technical decisions.</p><p><strong>Traditional vCore-based licensing</strong></p><p>With the traditional model, we mainly cared about allocated runtime capacity. The number and size of workers or replicas mattered, along with CPU, memory, and overall application performance. Having 5 flows or 50 flows inside an application didn’t directly change the licensing consumption. Of course, those additional flows could consume more resources, but the flow count itself wasn’t the licensing metric.</p><p><strong>Usage-based pricing</strong></p><p>This is where things become more interesting for developers. MuleSoft introduced consumption metrics such as billable flows, Mule messages, and data throughput. A flow containing an event source, such as an HTTP Listener, Scheduler, or VM Listener, generally counts as a billable flow. APIkit-generated routing flows also count, even though they don’t contain a traditional event source. And a Mule message is counted when an event source triggers it. This doesn’t mean that every Transform Message, Flow Reference, or HTTP Request adds another billable message. We’ll see why that distinction matters.</p><p><strong>Mule Credits</strong></p><p>Mule Credits add a shared consumption model across different MuleSoft capabilities. For integrations, flow and message usage can contribute to credit consumption alongside other applicable platform meters. The important thing to remember is that Mule Credits don’t automatically change how a Mule flow or message works. They change how eligible usage is translated into credits. Actual costs depend on the customer’s contract and rate card, so I won’t try to attach a dollar amount to each example.</p><p>Instead, let’s focus on something we can control as developers: <strong>how we design our applications.</strong></p><h3>2. APIkit vs. Choice Router</h3><p>Let’s say we’re building a simple Customer API with six operations:</p><pre>GET    /customers<br>POST   /customers<br>GET    /customers/{id}<br>PUT    /customers/{id}<br>GET    /orders<br>POST   /orders</pre><p>My usual approach would be to define the API specification and generate the implementation using APIkit. It’s straightforward, follows the contract-first approach, and makes it easier to maintain the API as it grows.</p><p>With APIkit, we’d typically end up with one main listener/router flow and six generated operation flows. That gives us <strong>7 billable flows per replica</strong>, assuming this is the complete application.</p><p>Now, what if we implemented the same API using a single HTTP Listener and a Choice Router?</p><pre>&lt;flow name=&quot;customer-api&quot;&gt;<br>    &lt;http:listener<br>        config-ref=&quot;HTTP_Listener_config&quot;<br>        path=&quot;/api/*&quot;/&gt;<br>    &lt;choice&gt;<br>        &lt;when expression=&quot;#[attributes.method == &#39;GET&#39; and attributes.requestPath == &#39;/api/customers&#39;]&quot;&gt;<br>            &lt;flow-ref name=&quot;get-customers&quot;/&gt;<br>        &lt;/when&gt;<br>        &lt;when expression=&quot;#[attributes.method == &#39;POST&#39; and attributes.requestPath == &#39;/api/customers&#39;]&quot;&gt;<br>            &lt;flow-ref name=&quot;create-customer&quot;/&gt;<br>        &lt;/when&gt;<br>        &lt;otherwise&gt;<br>            &lt;raise-error type=&quot;APP:NOT_FOUND&quot;/&gt;<br>        &lt;/otherwise&gt;<br>    &lt;/choice&gt;<br>&lt;/flow&gt;</pre><p>The example is simplified, but you get the idea. We could handle the remaining endpoints in the same way and move the actual processing into subflows. Since those subflows don’t introduce additional event sources, we’d end up with <strong>1 billable flow instead of 7</strong>.</p><p>But would I actually replace APIkit with manual routing? For a small internal API with only a few endpoints, I might consider it. For an API with 20 or 30 operations, probably not.</p><p>APIkit gives us contract-based routing, request validation, and a structure that other developers can easily understand. With manual routing, we become responsible for handling those details ourselves. And the more endpoints we have, the harder it gets to maintain.</p><p>Under traditional vCore licensing, I wouldn’t even consider replacing APIkit purely because of the number of generated flows. Under usage-based licensing, I might at least evaluate the difference. But I wouldn’t sacrifice maintainability just to reduce the flow count.</p><h3>3. Flow Reference vs. VM</h3><p>Here’s another example.</p><p>Imagine we receive a customer through an HTTP API, transform the payload, and create an Account in Salesforce. A straightforward implementation would use an HTTP Listener and a Flow Reference.</p><pre>&lt;flow name=&quot;receive-customer&quot;&gt;<br>    &lt;http:listener<br>        config-ref=&quot;HTTP_Listener_config&quot;<br>        path=&quot;/customers&quot;<br>        allowedMethods=&quot;POST&quot;/&gt;<br>    &lt;flow-ref name=&quot;process-customer&quot; doc:name=&quot;process-customer&quot;/&gt;<br>&lt;/flow&gt;<br>&lt;sub-flow name=&quot;process-customer&quot;&gt;<br>    &lt;ee:transform doc:name=&quot;Map Customer&quot;&gt;<br>   &lt;ee:message &gt;<br>    &lt;ee:set-payload &gt;&lt;![CDATA[%dw 2.0<br>output application/java<br>---<br>{<br>}]]&gt;&lt;/ee:set-payload&gt;<br>   &lt;/ee:message&gt;<br><br>        ...<br>    &lt;/ee:transform&gt;<br>  &lt;salesforce:create<br>        config-ref=&quot;Salesforce_Config&quot;<br>        type=&quot;Account&quot;/&gt;<br>&lt;/sub-flow&gt;</pre><p>From a usage-based licensing perspective, the HTTP Listener triggers one Mule message.Calling the subflow doesn’t create another billable message.</p><p>Now imagine we decide to use VM instead.</p><pre>&lt;flow name=&quot;receive-customer&quot;&gt;<br>  &lt;http:listener config-ref=&quot;HTTP_Listener_config&quot;<br>   path=&quot;/customers&quot; allowedMethods=&quot;POST&quot; /&gt;<br>  &lt;vm:publish config-ref=&quot;VM_Config&quot;<br>   queueName=&quot;customer-queue&quot; /&gt;<br>&lt;/flow&gt;<br>&lt;flow name=&quot;process-customer&quot;&gt;<br>  &lt;vm:listener config-ref=&quot;VM_Config&quot;<br>   queueName=&quot;customer-queue&quot; /&gt;<br>  &lt;salesforce:create config-ref=&quot;Salesforce_Config&quot;<br>   type=&quot;Account&quot; /&gt;<br>&lt;/flow&gt;</pre><p>We have two event sources: the HTTP Listener and the VM Listener. For every incoming HTTP request, another Mule event is created when the VM Listener consumes the message. Let’s imagine we receive 10000 requests.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/516/1*EfnXFKwmvG4ys5jT8Yo5Bg.png" /><figcaption><em>Assuming one successful VM consumption per incoming request and no additional event sources.</em></figcaption></figure><p>That’s twice the number of Mule messages for the same number of incoming business requests. Does that make VM a bad choice? Not at all.</p><p>There are good reasons to introduce asynchronous processing. Maybe we don’t want the client waiting for Salesforce. Maybe we need buffering or want to process requests at a controlled rate.</p><p>Those requirements matter much more than the licensing difference.</p><p>But I’ve also seen how easily an integration can become overcomplicated when we introduce additional components just to separate logic.</p><p>If all we need is better code organization, a subflow might be enough.</p><h3>4. Processing 100000 Records - One Message or 100000?</h3><p>This is probably the most interesting example when it comes to Mule message consumption. Imagine we need to synchronize 100000 records from MongoDB to another system. There are different ways to approach this.</p><h4>Option A: One HTTP Request per Record</h4><p>An external system sends 100000 individual requests to our Mule API. Each request triggers the HTTP Listener. <strong>That’s 100000 Mule messages</strong>.</p><p>There’s nothing necessarily wrong with this approach. If we’re processing real-time events, it might be exactly what we need. But if it’s a scheduled bulk synchronization, I’d question whether this is the most efficient solution.</p><h4>Option B: One Scheduler + Batch Processing</h4><p>Instead, we could have a Scheduler that runs once a day, retrieves the changed records from MongoDB, and processes them internally.</p><p>The Scheduler triggers one Mule event. Processing 100000 records inside a Batch Job doesn’t automatically create 100000 additional billable Mule messages. That’s an important distinction. One event can initiate a lot of work.</p><p>Of course, this doesn’t mean processing 100000 records is free. We still need to think about memory, CPU, target system limits, network throughput, and performance. But from a Mule message counting perspective, the difference can be significant.</p><h4>Option C: One Scheduler + VM per Record</h4><p>Now imagine we retrieve those same 100000 records and publish each one to a VM queue. The Scheduler triggers one event, and the VM Listener eventually consumes 100000 messages. That gives us approximately 100001 Mule messages.</p><p>We haven’t changed the amount of business data being processed. We’ve changed how Mule handles it internally.</p><p>This is where I think understanding licensing becomes useful.</p><p>Under the traditional vCore model, I’d mainly focus on whether the application has enough resources to process the workload efficiently.</p><p>Under usage-based pricing, I’d consider that too, but I’d also look at how many new Mule events we’re creating.</p><p>I wouldn’t remove a queue that provides necessary reliability or workload isolation. But if the requirement is simply to run a bulk synchronization once a day, I’d probably prefer a batch-oriented design.</p><p><strong>The number of records we process and the number of billable Mule messages are not necessarily the same thing.</strong></p><h3>5. CloudHub Replicas</h3><p>Let’s say our Mule application contains:</p><ul><li>1 HTTP Listener flow</li><li>1 Scheduler flow</li><li>4 APIkit-generated route flows</li><li>Several private flows and subflows</li></ul><p>We have six billable flows.</p><p>If we deploy this application with one replica in CloudHub 2.0, the running billable flow count is six. With two replicas, it becomes twelve.</p><p>Nothing changed in our application code. We simply changed the deployment configuration.</p><p>With traditional vCore licensing, adding replicas also means allocating more runtime capacity. With usage-based pricing, the number of running billable flow instances increases.</p><p>However, it doesn’t necessarily mean the number of incoming Mule messages doubles. If 100000 HTTP requests are distributed between two replicas, we’re still receiving approximately 100000 requests in total.</p><p>That said, different event sources can behave differently when an application is scaled, so we should always verify the deployment behavior.</p><p>Would I reduce replicas just to save on licensing?</p><p>Definitely not for a business-critical application that needs redundancy and availability.</p><p>I’ve worked with applications where resource requirements were very different, yet it was tempting to deploy everything using the same configuration.</p><p>Understanding both performance requirements and licensing consumption helps us avoid that kind of unnecessary overprovisioning.</p><h3>6. Retries and Error Handling</h3><p>One more thing worth mentioning is retry behavior. Let’s say we’re calling an external API that occasionally returns HTTP 503.</p><p>We could use Until Successful:</p><pre>&lt;until-successful maxRetries=&quot;3&quot;<br>  millisBetweenRetries=&quot;2000&quot;&gt;<br>  &lt;http:request config-ref=&quot;HTTP_Request_configuration&quot;<br>   method=&quot;POST&quot; path=&quot;/orders&quot; /&gt;<br>&lt;/until-successful&gt;</pre><p>Even if the HTTP Request is executed multiple times, we’re still processing the same original Mule event. The retry doesn’t automatically create another billable Mule message.</p><p>Now compare that with an architecture where we send the request to a queue and process it through a separate listener. That listener creates another Mule event when it consumes the message, and redelivery can introduce additional processing events.</p><p>The two designs don’t have the same consumption characteristics. But they don’t provide the same behavior either.</p><p>Until Successful can help with temporary failures.</p><p>A queue can provide buffering, asynchronous processing, and more sophisticated recovery options.</p><p>For me, this is an area where I wouldn’t let licensing influence the design too much. If a queue and DLQ are necessary to make an integration reliable, I’d use them. The consequences of losing business data are usually much worse than consuming a few extra messages.</p><h3>7. So, Would I Actually Change My Implementations?</h3><p>After looking at these examples, I think the answer is yes only in certain situations.</p><p>I wouldn’t redesign an entire integration architecture around the licensing model. And I definitely wouldn’t start replacing well established MuleSoft patterns with custom solutions just to reduce consumption.</p><p>But there are a few things I’d pay more attention to today:</p><ul><li><strong>Event sources:</strong> Do we really need another Listener or Scheduler, or would a Flow Reference be enough?</li><li><strong>APIkit:</strong> Does the API benefit from contract-driven routing, or are we building something very small and internal?</li><li><strong>Data processing:</strong> Are we generating thousands of separate events when bulk processing would be more appropriate?</li><li><strong>Replicas:</strong> Are we scaling applications based on actual requirements, or simply using the same configuration everywhere?</li><li><strong>Queues and retries:</strong> Are we introducing asynchronous processing for a real reason, or just adding complexity?</li></ul><p>I would also use Anypoint Studio’s Flow Count feature to understand the number of billable flows before deployment, and review actual usage reports afterward.</p><p>The actual financial impact depends on your licensing agreement, included entitlements, usage, and the applicable credit rates.</p><h3>Summary</h3><p>For years, I mostly associated MuleSoft licensing with runtime capacity. How many vCores do we have? How many applications can we deploy? Do we need a bigger worker?</p><p>Those questions are still relevant.</p><p>But with usage-based pricing and Mule Credits, I’ve started paying more attention to how the applications themselves are structured. An additional Listener, a VM queue, an APIkit-generated route, or another replica can affect how our usage is measured. That doesn’t mean we should avoid those components. It means we should understand what we’re choosing and why.</p><p>At the end of the day, I wouldn’t design an integration to be as cheap as possible. I’d design it properly, and then look for ways to make it more efficient.</p><p>That’s how I think licensing should influence our work as MuleSoft developers.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3bab1272a69c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Designing MuleSoft APIs That Fail Gracefully: A.K.A. Resiliency]]></title>
            <link>https://medium.com/@marko.huzanic/designing-mulesoft-apis-that-fail-gracefully-a-k-a-resiliency-29c3d7ce12af?source=rss-7273122e883b------2</link>
            <guid isPermaLink="false">https://medium.com/p/29c3d7ce12af</guid>
            <category><![CDATA[mulesoft]]></category>
            <category><![CDATA[anypoint-platform]]></category>
            <category><![CDATA[architecture]]></category>
            <category><![CDATA[integration]]></category>
            <dc:creator><![CDATA[Marko Huzanić]]></dc:creator>
            <pubDate>Tue, 20 Oct 2026 10:44:50 GMT</pubDate>
            <atom:updated>2026-10-20T10:44:50.442Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*g62JGFJb8dsPKoS-eDt4VA.png" /></figure><p>When designing an integration, the happy path is usually the easy part. The harder questions start when one of the systems involved is slow, unavailable, returns an unexpected response, or accepts a request but fails before sending the response back. Here is where <strong>resiliency becomes important</strong>.</p><p>In MuleSoft, resiliency should not only be adding an Until-Successful Scopeor sending failed messages to a DLQ. We have to decide about how the integration should react to different types of failures, how long it should keep trying, when processing should become asynchronous, and how failed transactions can be traced and recovered later. That usually involves a combination of error handling, retries, messaging, idempotency, observability, and recovery mechanisms.</p><p>The goal and the challenge is to <strong>choose the right mechanism for the failure you are trying to handle</strong> since resilient MuleSoft API should fail in a controlled, observable, and recoverable way. That often means combining several mechanisms:</p><ul><li>error classification</li><li>controlled retries</li><li>asynchronous messaging</li><li>dead letter queues</li><li>idempotency</li><li>observability</li><li>replay and recovery</li></ul><h4>1. Handling the Errors</h4><p>Before deciding what to do with an error, we first need to understand what kind of error we are dealing with.</p><p>A timeout or temporary connectivity issue is very different from a validation error or an invalid payload. In the first case, trying the same request again after a short delay may solve the problem. In the second case, retrying the same request three more times will most likely produce exactly the same result.</p><p>This is why error classification is an important part of resiliency.</p><p>We can roughly separate failures into a few groups:</p><ul><li><strong>Transient technical errors</strong> — timeouts, connectivity issues, HTTP 503, temporary database problems</li><li><strong>Permanent technical errors</strong> — invalid configuration, unsupported operation, unavailable resource</li><li><strong>Business or validation errors</strong> — missing mandatory data, invalid business values, failed business rules</li><li><strong>Security errors</strong> — authentication or authorization failures</li></ul><p>Once we know the type of failure, it becomes easier to decide what next steps should be. A transient error may be a good candidate for retry, while a validation error should normally be returned or handled as a business failure instead.</p><h4>2. Retry?</h4><p>Retries are probably the first thing we think about when talking about resiliency. If a downstream system is temporarily unavailable, trying the same request again after a short delay can be completely reasonable. MuleSoft makes this easy with Until-Successful Scope.</p><p>Before adding retries, I usually ask myself:</p><ul><li>Is this really a temporary problem?</li><li>How many attempts make sense?</li><li>How long should we wait between attempts?</li><li>What should happen if all attempts fail?</li><li>Is it safe to send the same request again?</li></ul><p>Try not to overlook last point because imagine Mule sends a POST request to create an order. The target system creates the order successfully, but the connection drops before Mule receives the response. If Mule retries the same request, you may end up creating the same order twice.</p><p>This is where <strong>idempotency</strong> becomes part of the retry discussion. A retry mechanism is only useful if we also understand what can happen when the same operation is executed more than once.</p><h4>3. When To Choose a Queue Over Another Retry</h4><p>Retries work well when we expect the problem to disappear quickly. In a situation when downstream system is unavailable for a longer period of time, keeping the original request alive and retrying is not the best practice. Here it makes sense to separate the systems with a queue.</p><pre>Source → Mule → Queue → Mule Consumer → ERP</pre><p>Now the source system does not need to wait for the ERP to be available. Mule can accept the message, place it on the queue, and process it later when the downstream system is ready again.</p><p>This gives us a much cleaner way to handle temporary outages, traffic spikes, and slower downstream systems. It also gives us more control over how messages are retried and what happens when processing keeps failing.</p><p>Of course, once we introduce a queue, we also introduce a new set of decisions. How many times should a message be redelivered? How long should it stay there? What happens if it can never be processed? Who is responsible for monitoring failed messages and replaying them later?</p><p>Another practical question: <strong>which messaging platform should we use?</strong></p><p>For MuleSoft projects, Anypoint MQ is often the obvious first option. But depending on the existing architecture, message volume, operational model, and cost, an external broker such as ActiveMQ may also make more sense.</p><h4>4. Anypoint MQ or ActiveMQ</h4><p>Anypoint MQ is easy to connect, it fits natively into the platform, and we do not need to spend time setting up and maintaining the broker itself. For many teams, that simplicity is a big advantage.</p><p>You know what they say “<em>With more control comes more responsibility</em>”. And here we have Active MQ. Someone has to run it, secure it, monitor it, patch it, think about clustering and availability, and make sure it is still healthy when something goes wrong.</p><p>If the organization is already heavily invested in MuleSoft and wants to keep operational overhead low, Anypoint MQ can make a lot of sense.</p><p>On the other hand, if there is already a central messaging platform in place, very high message volumes are expected, or the company wants more control over the broker, ActiveMQ or another external messaging platform may be a better fit.</p><h4>5. The Black Box Problem</h4><p>One of the nice things about managed platforms is that we do not need to think too much about the infrastructure behind them. The downside is when something goes wrong, it is not always immediately clear <strong>where it went wrong</strong>.</p><p>For example, imagine that our producer logs:</p><pre>Message successfully published.</pre><p>From the producer side, everything looks fine. But later someone reports that the order never reached the target system. At this point, we need to understand what happened across the whole flow:</p><pre>Producer → Queue → Consumer → Downstream system</pre><p>The fact that Mule successfully published the message only tells us that the first part worked. The message could still be waiting in the queue, the consumer could be failing, or the downstream system could have rejected the request.</p><p>This is why <strong>observability becomes an important part of resiliency</strong>, especially once asynchronous processing is involved.</p><p>Ideally, we should be able to follow the same transaction from the moment it enters the API until it is successfully processed, including any retries, DLQ processing, or replay.</p><p>A correlation ID should help follow the technical execution, but for business integrations I also like to keep a business identifier in the logs which in this case would be the order number.</p><h4>6. DLQ</h4><p>Once retries are exhausted, sending the message to a Dead Letter Queue is often the next step which prevents the message from being lost.</p><p>Still we need to know if it failed, understand why it failed, fix the underlying issue, and decide whether the message should be replayed.</p><p>This means a DLQ should be designed together with the operational process around it. We should know who monitors it, when an alert should be triggered, and how failed messages can be replayed safely.</p><p>The replay part is important in a way if the same message is processed again later, we need to make sure that we are not creating duplicates or repeating an operation that already succeeded partially.</p><p>So DLQ is a point where automatic recovery stops and manual or controlled recovery starts.</p><h4>7. Costs of Resiliency</h4><p>Every resiliency mechanism adds some cost and complexity.</p><p>More retries mean more calls to downstream systems. More queues mean more messaging operations. More logging means more data to store and search through. More monitoring means more alerts, dashboards, and operational work, which becomes noticeable very quickly in high volume integrations.</p><p>That is why I would not recommend logging everything just because we can. The goal should be to log enough information so that we can understand what happened to a transaction and where it failed.</p><p>In most cases, besides correlation ID and business identifier, addedin a error description with source and target should be useful enough to find the root cause of the issue.</p><p>The same thinking applies to retries and queues. Adding more layers does not automatically make the integration more resilient, on the contrary it could makes it more expensive and harder to operate.</p><h4>Conclusion</h4><p>Resiliency in MuleSoft is not about picking one component or one pattern.</p><p>Until-Successful Scopecan help with temporary failures, but it is not enough on its own. A Queuecan separate systems and make outages easier to handle, but it also introduces new operational questions. A DLQ protects failed messages, but only if there is a clear way to monitor and replay them.</p><p>In practice, a resilient MuleSoft solution usually combines several things: <strong>error classification, retries, asynchronous processing, DLQ handling, idempotency, observability, and replay.</strong></p><p>The bottom line for resiliency comes down to making sure that when failures happen, we know what happened and what to do next.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=29c3d7ce12af" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Is MuleSoft Declining, or Is Its Delivery Model Evolving?]]></title>
            <link>https://medium.com/another-integration-blog/is-mulesoft-declining-or-is-its-delivery-model-evolving-0d4eed1201b9?source=rss-7273122e883b------2</link>
            <guid isPermaLink="false">https://medium.com/p/0d4eed1201b9</guid>
            <category><![CDATA[integration]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[mulesoft]]></category>
            <category><![CDATA[architecture]]></category>
            <dc:creator><![CDATA[Marko Huzanić]]></dc:creator>
            <pubDate>Fri, 17 Jul 2026 08:53:05 GMT</pubDate>
            <atom:updated>2026-07-17T08:53:05.458Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*sNrwCrzfg-Uf4dD3SeF2gg.png" /></figure><h3>What I have observed after years across MuleSoft development, architecture, mentoring, and delivery</h3><p>For many years, enterprise integration projects followed a familiar pattern.</p><p>A company selected MuleSoft or another integration platform, chose an implementation partner, assembled a multidisciplinary team, and started a transformation programme that could last several years.</p><p>Developers, architects, business analysts, testers, DevOps engineers, and project managers often remained with the same client for a long time. As one phase finished, another began. New systems were added, more APIs were developed, and the external integration team gradually became an extension of the client’s internal IT organisation.</p><p>This delivery model still exists, and in the right circumstances it remains entirely valid.</p><p>Large organisations with complex landscapes, many legacy systems, limited internal capacity, or major transformation goals may still need sizeable external teams. Building an integration platform, establishing governance, and delivering the first major set of integrations cannot always be reduced to a small or short engagement.</p><p>However, based on what I have seen during more than six years of working with MuleSoft, this is no longer the only common delivery model.</p><p>Alongside traditional multi-year programmes, I increasingly see shorter engagements, more clearly defined outcomes, smaller teams, and a stronger focus on transferring knowledge to the client.</p><p>This does not mean that MuleSoft or enterprise integration is disappearing.</p><p>It means that organisations are becoming more selective about how they purchase, organise, and measure integration work.</p><h3>Why the market feels different</h3><p>Across the projects I have worked on, I have seen clients at very different stages of their MuleSoft journey.</p><p>Some were starting from the beginning. They needed help with environments, networking, deployment pipelines, security, logging, reusable components, error handling, API standards, testing, and governance.</p><p>Others already had a mature MuleSoft platform. Their basic architecture and delivery processes were established. They did not need another complete implementation programme. They needed help with a specific integration, an architectural decision, a performance issue, a migration, or the introduction of better development standards.</p><p>Both types of organisations still exist.</p><p>The difference is that there are now more mature MuleSoft customers than there were several years ago. As a result, the type of external support they require is changing.</p><p>This can make the market appear smaller, particularly when it is measured by the number of long-term contractor positions.</p><p>In reality, part of the work has simply moved into a different form.</p><h3>From broad programmes to defined outcomes</h3><p>In my experience, clients increasingly want to connect technology spending to a visible result.</p><p>Instead of approving a broadly defined integration transformation, they are more likely to fund a specific initiative such as integrating customer and account data between SAP and Salesforce or establishing development and deployment standards.</p><p>These initiatives may still be part of a larger transformation. The difference is that the programme is divided into smaller decisions, each with clearer scope, ownership, and expected outcomes.</p><p>This approach is not automatically better than the traditional model.</p><p>Some integration challenges are too large or too interconnected to be solved effectively through isolated short engagements. Excessive fragmentation can also create inconsistent architecture, duplicated functionality, and gaps between teams.</p><p>The important change is that organisations now expect each phase to justify itself more clearly.</p><h3>Large delivery teams still have a role</h3><p>It would be inaccurate to suggest that large MuleSoft programmes are disappearing.</p><p>For a global organisation integrating dozens of systems across multiple countries, a small specialist team may not provide enough capacity. The same applies to companies replacing legacy middleware, introducing a new ERP, consolidating acquired businesses, or building an enterprise API platform from the ground up.</p><p>In these situations, a larger delivery organisation can provide continuity, domain knowledge, delivery speed, and access to several different skill sets.</p><p>The issue is not the size of the team itself.</p><p>The issue is whether the team continues to create value, whether the client retains ownership of the platform, and whether the programme has clear architectural and business direction.</p><p>A long engagement can be successful when responsibilities are clear, standards are consistent, knowledge is shared, and the client gradually becomes more capable.</p><p>A shorter engagement can fail when it delivers an isolated technical solution without considering the wider architecture.</p><p>The duration of the engagement does not determine its quality.</p><h3>Platform maturity changes the amount of work required</h3><p>During an early MuleSoft implementation, almost every decision must be made for the first time.</p><p>The organisation needs to define its environment strategy, deployment model, networking, security, API design approach, logging structure, error model, testing standards, naming conventions, and support procedures.</p><p>That requires significant effort.</p><p>Once these foundations exist, later integrations can reuse much of the same approach.</p><p>A new API can start from an established template. Common errors can be defined through shared specifications. Logging fields can follow an existing structure. Deployment can use an established pipeline. Security policies and monitoring procedures may already be in place.</p><p>This naturally reduces the amount of work required for an individual integration.</p><p>That reduction should not automatically be interpreted as declining demand. In many cases, it is evidence that the platform and the organisation have matured.</p><p>The focus moves from establishing the platform to using it effectively.</p><h3>AI will change integration work, not remove the need for it</h3><p>AI assisted development can already help generate mappings, documentation, API definitions, test cases, and parts of application logic.</p><p>This will reduce the effort required for some repetitive tasks.</p><p>However, generating code is only one part of enterprise integration.</p><p>Someone still needs to understand the business process, identify the source of truth, define data ownership, select the correct pattern, design security, manage failures, consider performance, establish governance, and ensure that the solution can be operated in production.</p><p>AI may reduce the manual effort involved in building certain components, but it also increases the need for governed connectivity.</p><h3>What clients increasingly expect from MuleSoft professionals</h3><p>The technical fundamentals remain important.</p><p>A MuleSoft professional still needs to understand API design, DataWeave, connectors, error handling, security, testing, deployment, performance, and platform operations.</p><p>However, technical implementation alone is becoming less of a differentiator.</p><p>Clients increasingly value professionals who can understand the business process behind an integration, identify unclear or conflicting requirements, select an appropriate integration pattern, explain architectural decisions, establish reusable standards, recognise operational risks early, mentor internal developers, and support a structured handover.</p><p>I have personally moved through roles ranging from development to architecture and mentoring. The more responsibility I took on, the clearer it became that the most difficult integration problems were rarely caused by the lack of a connector or an inability to write a transformation.</p><p>The difficult problems were usually related to unclear ownership, incomplete requirements, inconsistent architecture, missing operational standards, or decisions made without considering the complete business process.</p><p>These are also the areas where experienced professionals can create the greatest value.</p><h3>The value of being active in the MuleSoft community</h3><p>Technical experience is important, but professional growth does not happen only inside projects.</p><p>One of the most valuable parts of working in the MuleSoft ecosystem is the opportunity to connect with people facing similar architectural, delivery, and development challenges.</p><p>Through community events, meetups, mentoring, technical discussions, articles, and direct conversations with other professionals, it is possible to learn from situations that may not yet have appeared in your own projects.</p><p>Instead of learning only from our own mistakes, we can also learn from challenges that others have already faced. At the same time, sharing knowledge forces us to examine our own decisions more carefully and explain them clearly.</p><p>In my experience, mentoring and participating in technical discussions have been valuable not only for helping others, but also for improving my own understanding.</p><p>Connecting with the wider community provides a broader perspective. It helps professionals understand how other companies approach governance, platform operations, architecture, team organisation, and delivery.</p><p>It also creates professional relationships.</p><p>The strongest professional networks are built through genuine participation. This means helping others, sharing lessons from real projects, asking thoughtful questions, and being open about both successful and unsuccessful approaches.</p><p>Over time, this creates trust and professional visibility.</p><p>Being active in the MuleSoft community therefore supports several areas at the same time: continuous learning, professional development, knowledge sharing, reputation building, and the creation of new business opportunities.</p><p>In a market where engagements may become more specialised and increasingly dependent on specific expertise, being known and trusted within the community can be almost as important as the technical skills themselves.</p><h3>So, is MuleSoft declining?</h3><p>The traditional delivery model is not disappearing, but it is no longer the only option. Clients increasingly combine large programmes with smaller specialist engagements, stronger internal teams, and clearer outcomes. Integration itself is becoming more important as applications, APIs, data platforms, and AI use cases continue to grow.</p><p>Active participation in the MuleSoft community is also becoming increasingly valuable. By sharing knowledge, learning from others, and building trusted relationships, professionals improve their skills, visibility, and access to new opportunities.</p><p>The strongest MuleSoft professionals will deliver lasting value while helping both their clients and the wider community grow.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=0d4eed1201b9" width="1" height="1" alt=""><hr><p><a href="https://medium.com/another-integration-blog/is-mulesoft-declining-or-is-its-delivery-model-evolving-0d4eed1201b9">Is MuleSoft Declining, or Is Its Delivery Model Evolving?</a> was originally published in <a href="https://medium.com/another-integration-blog">Another Integration Blog</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[MuleSoft IDP beyond the demo: What to think about before going to production]]></title>
            <link>https://medium.com/another-integration-blog/mulesoft-idp-beyond-the-demo-what-to-think-about-before-going-to-production-0e813b903fee?source=rss-7273122e883b------2</link>
            <guid isPermaLink="false">https://medium.com/p/0e813b903fee</guid>
            <category><![CDATA[idp]]></category>
            <category><![CDATA[mulesoft]]></category>
            <category><![CDATA[data]]></category>
            <category><![CDATA[api-integration]]></category>
            <category><![CDATA[integration-architecture]]></category>
            <dc:creator><![CDATA[Marko Huzanić]]></dc:creator>
            <pubDate>Tue, 26 May 2026 12:01:44 GMT</pubDate>
            <atom:updated>2026-05-26T12:01:44.114Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*O6Tsdg8-Q5uEj4M-jLWDxA.png" /></figure><p>When people first look at MuleSoft Intelligent Document Processing, the demo usually feels very straightforward. You upload a PDF, IDP extracts the fields, you receive structured JSON, and then you send that data to Salesforce, SAP, or some other downstream system.</p><p>That flow is easy to understand, and it is a good way to explain the basic value of IDP. But in a real project, this is usually only the half of the story.</p><p>Asking<em> “Can we extract data from a document?” </em>is not interesting anymore, but <em>“Can we build a document processing flow that the business can actually trust in production?”</em></p><p>IDP can help us convert various structured or semi-structured documents into usable data, but the success of the solution depends heavily on what we build around it: APIs, validation, retries, observability, error handling, and downstream integration.</p><p><strong>In this article, I want to look at MuleSoft IDP the way I would approach it in a real integration project.</strong></p><h3>IDP is not the complete solution</h3><p>One thing that is easy to forget in demos is that <strong>IDP is not the whole document processing solution. It is one very important part of it</strong>.</p><p>IDP can analyze the document and return extracted data. But someone still has to decide how that document enters the system, how the result is validated, what happens when the confidence score is low, where errors are stored, how duplicates are prevented, and how the final data is pushed to the target system.</p><p>That surrounding architecture is where MuleSoft fits very naturally. A typical flow could look something like this</p><pre>Customer portal / Email / Mobile app / Internal system<br>       ↓<br>Experience API for document upload<br>       ↓<br>Process API for orchestration, IDP document action and validation<br>       ↓<br>System APIs for Salesforce, SAP, ERP, CRM, or document storage</pre><p>This is also why I would avoid calling IDP directly from every consumer that needs document extraction. It may work technically, but it usually creates tight coupling very quickly.</p><p>Instead, why not follow API-led connectivity and put a Mule API layer in front of the process. That gives us a controlled contract for consumers and keeps the IDP-specific logic in one place.</p><h3>Start with the document lifecycle, not with the API call</h3><p>A common mistake is to start the design with the technical API call <em>“How do I send a PDF to IDP?”</em></p><p>That is important, of course, but first to be defined should be document lifecycle. For example if it is Received, Validated, Submitted to IDP, Processing, Needs manual review, Extracted, Rejected, Completed, Failed.</p><p>If we only think about the API call, we might design a simple synchronous flow where client uploads a document, Mule calls IDP, receives the response, transforms it, and sends it to Salesforce. And this can definatelly work for a demo.</p><p>In production, document processing often behaves more like a long-running process. The document may need time to be processed. It may wait for manual review. A downstream system may be temporarily unavailable. A callback may be retried. A user may upload the same document twice.</p><p>Because of that, I would usually <strong>design the process as asynchronous from the beginning</strong>.</p><h3>The execution ID should not disappear in the logs</h3><p>When IDP starts processing a document, the execution ID becomes one of the most important technical identifiers in the flow.</p><p>I would treat it almost like a business tracking reference. In practice, I would store at least these values:</p><ul><li>correlationId</li><li>IDP executionId</li><li>original file name</li><li>processing status</li><li>target system reference</li></ul><p>Simply when something goes wrong, someone will ask what happened.</p><p><em>Was the document received by Mule? Was it submitted to IDP? Did IDP finish processing? Was it waiting for manual review? Did the mapping fail? Did target system reject the request? Was the same document processed twice?</em></p><p>If we cannot answer those questions quickly, support becomes painful.</p><p>This is why I would never rely only on application logs for this kind of process. Logs are useful, but for document processing I would also keep a small operational store where every document and its current status can be checked.</p><p>That store does not have to be complicated. It could be a database table, an object store depending on the use case, or another persistence mechanism. The important part is that the process is traceable.</p><h3>Confidence score is a business decision</h3><p>One of the most important parts of IDP is the confidence score.</p><p>Technically, it tells us how confident the extraction model is about a specific field. But architecturally, it tells us whether the process can continue automatically or whether a human should review the document.</p><p>This should not be decided only by developers.</p><p>For some fields, a lower confidence score may be acceptable. For other fields, even a small mistake can be a serious problem.</p><p>For example, total amount or bank account usually need stricter rules than a description field.</p><p>This is where the business needs to be involved.</p><p>A solid MuleSoft implementation should not just take the IDP response and push everything to the target system. It should apply business rules before the data is trusted. <strong>This is the difference between document extraction and document automation.</strong></p><h3>Do not map the IDP response directly into every target system</h3><p>IDP output can change. The document action can evolve. Field names can be adjusted. Confidence rules can be tuned. At the same time, every downstream system has its own structure and expectations. This is why instead of taking the JSON response from IDP and immediately mapping it to Salesforce, SAP, or another backend, I would introduce a <strong>canonical document model</strong> between IDP and downstream systems.</p><p>If we map IDP directly to every target, every change becomes more expensive. A canonical model gives us a stable internal format and becomes the contract between the document processing layer and the rest of the integration landscape.</p><h3>Manual review is not an exception case</h3><p>Some documents will not be clean. Some scans will be low quality. Some suppliers will use unusual templates. Some fields will be missing. Some values will be ambiguous.</p><p>A production design should assume that <strong>manual review will happen</strong>. That means we need to define what happens before, during, and after review since Mule implementation has to handle all use cases.</p><h3>Duplicates and Observability</h3><p>Document processes are very good at creating duplicates if we are not careful. That is why <strong>idempotency and observability should be part of the design from the beginning</strong>.</p><p>MuleSoft already gives us a strong platform for API monitoring, logging, policies, and operational control. But we still need to design the right business-level tracking for the document itself.</p><h3>Security and governance should not be an afterthought</h3><p>Documents often contain sensitive information. Because of that, let’s consider security and governance early in the design.</p><p>Logging is one important topic here —production data is full of sensitive information so we have to <strong>be confident that sensitive data is always masked</strong>.</p><h3>Proof of Concept or a Production-ready Solution</h3><p>Have you answered to following questions:</p><ol><li><em>Is the document lifecycle clearly defined?</em></li><li><em>Is the process synchronous or asynchronous by design?</em></li><li><em>Are correlation ID and execution ID stored?</em></li><li><em>Is there a canonical document model?</em></li><li><em>Are confidence thresholds agreed with the business?</em></li><li><em>Is manual review part of the normal flow?</em></li><li><em>Is duplicate detection implemented?</em></li><li><em>Are document action versions controlled?</em></li><li><em>Are DataWeave mappings covered with realistic test cases?</em></li><li><em>Do you have error handling strategy?</em></li><li><em>Is sensitive document data protected in logs?</em></li><li><em>Can support teams see the current document status?</em></li><li><em>Can failed documents be replayed safely?</em></li></ol><p><strong>By answering to all of these questions, you are ready for production roll out.</strong></p><h3>Conclusion</h3><p>MuleSoft IDP helps bridge the gap between unstructured documents and structured enterprise data.</p><p>But the real value does not come only from extracting fields from a PDF, it comes when IDP is placed inside a well-designed integration architecture.</p><p>That means stable APIs, clear status handling, validation rules, human review, idempotency, monitoring, security, and reliable downstream integration.</p><p>From a MuleSoft developer or architect perspective, this is where the work becomes interesting.</p><p><strong>Calling IDP is one part of the implementation, but designing a process that the business can trust is the real challenge.</strong></p><p><strong>And that is also where MuleSoft can bring much more value than a simple document extraction demo.</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=0e813b903fee" width="1" height="1" alt=""><hr><p><a href="https://medium.com/another-integration-blog/mulesoft-idp-beyond-the-demo-what-to-think-about-before-going-to-production-0e813b903fee">MuleSoft IDP beyond the demo: What to think about before going to production</a> was originally published in <a href="https://medium.com/another-integration-blog">Another Integration Blog</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Developer’s Guide — streaming data between API layers in MuleSoft]]></title>
            <link>https://medium.com/another-integration-blog/developers-guide-streaming-data-between-api-layers-in-mulesoft-9417c2f60ee8?source=rss-7273122e883b------2</link>
            <guid isPermaLink="false">https://medium.com/p/9417c2f60ee8</guid>
            <category><![CDATA[how-to]]></category>
            <category><![CDATA[anypoint-studio]]></category>
            <category><![CDATA[guides-and-tutorials]]></category>
            <category><![CDATA[streaming]]></category>
            <category><![CDATA[mulesoft]]></category>
            <dc:creator><![CDATA[Marko Huzanić]]></dc:creator>
            <pubDate>Mon, 21 Aug 2023 12:10:39 GMT</pubDate>
            <atom:updated>2023-09-07T20:00:29.366Z</atom:updated>
            <content:encoded><![CDATA[<h3>Developer’s Guide — streaming data between API layers in MuleSoft</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/976/1*vKQr88j5-VoLzuvg5gN1GA.jpeg" /></figure><h3>Understanding Streaming Data</h3><p>Before you figure out what the streaming of data is, I have to pinpoint that this will be a developers guide on how to implement streaming in Mule 4.</p><p>Streaming data involves processing and transmitting data in a continuous flow, rather than in discrete blocks. This real-time approach is ideal for scenarios where low latency and efficient resource utilization are crucial.</p><h3>Implementation Scenarios</h3><h4>Requesting the data</h4><p>In the first scenario, we will have the following setup: Experience API, Process API, and System API.</p><p>System API unlocks data from SAP S/4HANA. By default, the SAP S/4HANA Query component in Mule 4 supports a Repeatable file store iterable streaming strategy. It means that you do not have to adjust the SAP S/4HANA component, but you have to adjust everything that is connecting our APIs into one functional cluster.</p><p>Starting from Experience API, if you request a Process API by HTTP Request component you have to do the following steps:</p><ol><li>Manually adjust HTTP Request configuration and add property <strong>streamResponse=”true”</strong> through Configuration XML view</li></ol><pre>&lt;http:request-config name=&quot;papiRequestConfig&quot; doc:name=&quot;HTTP Request configuration&quot; doc:id=&quot;80a409b5-123g-40e7-81f9-524b7f3ba840&quot; basePath=&quot;papi-api-v1&quot; responseTimeout=&quot;1000&quot;&gt;<br>  &lt;http:request-connection protocol=&quot;HTTP&quot; host=&quot;0.0.0.0&quot; port=&quot;8092&quot; streamResponse=&quot;true&quot;/&gt;<br>&lt;/http:request-config&gt;</pre><p>2. <strong>Set the MIME Type</strong> and the parameter “<strong>streaming=true</strong>” in the HTTP Request component itself and HTTP Listener in the main flow as well</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*g3M_JR94MUIXERiLE5z2Mg.png" /><figcaption>HTTP Request MIME Type tab</figcaption></figure><p>3. If you consume or transform the data anywhere after retrieving it from the source, then you need one more thing. Inside e.g. Transform message, add a property “<strong>deferred = true</strong>”. The property must be in the same line as an output.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/731/1*4x-xbZu_5_08o-s9Hvz1aw.png" /></figure><p>4. Repeat step two for each HTTP Request component which is on the path of streamed data</p><h4>Posting the data</h4><p>In the second scenario, we will change the setup a little bit. Besides having Experience API, Process API, and System API we will add one more System API. Another System API is working with Database. In this scenario, we will request the data from SAP S/4HANA in the first System API and POST the data into Database through the second System API.</p><p>HTTP Request component with method POST demands only one add-on on top of everything that has been written above — define “Content-Type” inside the Headers tab.</p><pre>output application/java<br>---<br>{<br> &quot;Content-Type&quot;: &quot;application/json; streaming=true&quot;,<br>  <br>}</pre><p>*If the streaming does not work with the given setup when POSTing, add “deferred=true” to the parameters inside the MIME Type tab.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5nw7KJjFi3-TiA8t9zoTcg.png" /></figure><h3>Conclusion</h3><p>In this developer’s guide, we’ve explored the intricacies of streaming data between API layers in the context of MuleSoft’s Mule 4 platform. We delved into the fundamental concept of streaming data, which involves the continuous processing and transmission of data, as opposed to the traditional block-by-block approach. This real-time paradigm proves invaluable in scenarios where minimizing latency and optimizing resource utilization are paramount.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9417c2f60ee8" width="1" height="1" alt=""><hr><p><a href="https://medium.com/another-integration-blog/developers-guide-streaming-data-between-api-layers-in-mulesoft-9417c2f60ee8">Developer’s Guide — streaming data between API layers in MuleSoft</a> was originally published in <a href="https://medium.com/another-integration-blog">Another Integration Blog</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Anypoint Connectors: Unlocking Integration Possibilities in Mule 4]]></title>
            <link>https://medium.com/another-integration-blog/anypoint-connectors-unlocking-integration-possibilities-in-mule-4-f3b5718f8152?source=rss-7273122e883b------2</link>
            <guid isPermaLink="false">https://medium.com/p/f3b5718f8152</guid>
            <category><![CDATA[anypoint-platform]]></category>
            <category><![CDATA[anypoint-studio]]></category>
            <category><![CDATA[mulesoft]]></category>
            <category><![CDATA[anypoint-exchange]]></category>
            <category><![CDATA[connector]]></category>
            <dc:creator><![CDATA[Marko Huzanić]]></dc:creator>
            <pubDate>Mon, 03 Jul 2023 08:10:27 GMT</pubDate>
            <atom:updated>2023-07-06T04:50:22.381Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/500/1*tftUXV9ELc-tkCuU6Vhddw.png" /></figure><p>Anypoint Connectors play a pivotal role in MuleSoft’s Anypoint Platform, enabling seamless integration with a vast array of systems, services, and APIs. These pre-built connectors provide out-of-the-box connectivity and standardization, simplifying the development and maintenance of integrations in Mule 4. In this article, we will explore the power and versatility of Anypoint Connectors, discussing their key features, benefits, and usage scenarios.</p><h4>Understanding Anypoint Connectors</h4><p>Anypoint Connectors are pre-built components that simplify integration with external systems and services in Mule 4. They abstract away the complexities of interacting with different technologies, protocols, and data formats, providing a consistent interface for developers. Anypoint Connectors consist of several key components, including connection configuration, operations, and metadata.</p><ul><li>The <em>connection configuration</em> allows you to define the connection details, such as endpoint URLs, authentication credentials, and timeouts.</li><li><em>Operations</em> represent the specific actions that can be performed with the connector, such as querying a database or making an API call.</li><li>The <em>metadata</em> provides information about the connector, including input/output parameters and documentation.</li></ul><h4>Anypoint Connector Types</h4><p>MuleSoft offers a wide range of Anypoint Connectors, each designed to integrate with specific systems, services, or protocols. Some common types of Anypoint Connectors include:</p><ul><li>Database Connectors: These connectors facilitate integration with popular databases such as MySQL, Oracle, and SQL Server. They provide capabilities for executing SQL queries, performing CRUD operations, and handling transactions.</li><li>Salesforce Connector: The Salesforce Connector enables seamless integration with Salesforce CRM, allowing you to create, update, and retrieve records, execute SOQL queries, and interact with Salesforce APIs.</li><li>HTTP Connector: This connector facilitates HTTP-based communication, enabling Mule 4 applications to make RESTful API calls, handle request and response payloads, and manage headers and query parameters.</li><li>JMS Connector: The JMS Connector enables integration with Java Message Service (JMS) providers, allowing Mule 4 applications to send and receive messages using messaging standards like JMS, RabbitMQ, or ActiveMQ.</li></ul><p>These are just a few examples, and there are numerous other Anypoint Connectors available, including connectors for SAP, AWS, Google Cloud, Twitter, and more. Each connector type has specific features, configuration options, and capabilities tailored to the system or service it integrates with.</p><h4>Configuring and Using Anypoint Connectors</h4><p>To use an Anypoint Connector in a Mule 4 application, you need to install and configure it in Anypoint Studio. You can install connectors from the Anypoint Exchange or use Maven dependencies. Once installed, you can configure the connector properties, such as endpoint URLs, authentication credentials, and connection timeouts. Configuration options may vary depending on the connector type. For example, the Salesforce Connector requires authentication details like username, password, and security token.</p><p>To use the connector in your integration flow, you can drag and drop it onto the canvas in Anypoint Studio. Then, you can specify the inputs and outputs, set up data mappings, and configure error handling. For instance, when using the Database Connector, you can define SQL queries or stored procedure calls as operations and map input/output parameters to the connector.</p><h4>Customization and Extension of Anypoint Connectors</h4><p>MuleSoft’s Anypoint Platform provides a rich ecosystem of pre-built Anypoint Connectors that simplify integration with external systems and services. However, there may be scenarios where you need to extend or customize the functionality of these connectors to meet specific integration requirements. Mule SDK (Software Development Kit) empowers developers to create custom connectors, enabling seamless integration with custom systems or APIs. In this article, we’ll delve into the Mule SDK and explore how it facilitates the customization and extension of Anypoint Connectors.</p><p>Mule SDK leverages Java and XML configurations to define connector behavior, operations, and configurations. It abstracts away the complexities of connector development, providing a standardized framework for extending and customizing Anypoint Connectors.</p><h4>Connector Best Practices and Considerations</h4><p>When working with Anypoint Connectors, it’s essential to follow best practices to ensure optimal performance, reliability, and maintainability. Consider the following:</p><ul><li>Connection Management: Properly manage connections to external systems by leveraging connection pooling and configuring connection timeouts. Reusing connections instead of establishing new connections for each request helps improve performance.</li><li>Error Handling: Implement robust error handling strategies, including handling connection failures, timeouts, and unexpected responses. Utilize Mule’s exception-handling mechanisms to gracefully handle errors and provide meaningful error messages.</li><li>Data Mapping: Ensure accurate data mapping between connector inputs/outputs and the data format required by the target system. Use DataWeave transformations or other data mapping techniques to convert data structures between formats.</li><li>Performance Optimization: Optimize performance by minimizing unnecessary operations, caching frequently accessed data, and leveraging parallel processing or batch processing capabilities where applicable.</li><li>Connector Documentation: Refer to the official documentation provided by MuleSoft for each connector to understand its capabilities, configuration options, and best practices specific to that connector.</li></ul><p>Adhering to these best practices will help you build efficient, reliable, and maintainable integrations using Anypoint Connectors.</p><h4>Exploring Popular Anypoint Connectors</h4><p>Let’s take a closer look at a few popular Anypoint Connectors:</p><ul><li>Salesforce Connector: The Salesforce Connector allows seamless integration with Salesforce CRM. It provides operations to perform CRUD operations on Salesforce objects, execute Salesforce Object Query Language (SOQL) queries, invoke Salesforce APIs, and handle bulk data operations. Use cases include synchronizing data between Salesforce and other systems, automating business processes, and building custom integrations with Salesforce.</li><li>Database Connector: The Database Connector enables integration with various databases, including MySQL, Oracle, SQL Server, and more. It provides operations to execute SQL queries, perform CRUD operations on database tables, handle transactions, and retrieve result sets. Use cases include data integration, database synchronization, and building applications that interact with databases.</li><li>HTTP Connector: The HTTP Connector allows Mule 4 applications to interact with RESTful APIs over HTTP or HTTPS. It provides operations to send HTTP requests, handle responses, manipulate headers, query parameters, and process request and response payloads. Use cases include integrating with third-party web services, consuming APIs, and building HTTP-based integrations.</li><li>JMS Connector: The JMS Connector facilitates integration with JMS-based messaging systems like IBM MQ, ActiveMQ, or RabbitMQ. It allows Mule 4 applications to send and receive messages using JMS standards. Operations include sending messages to queues or topics, receiving messages using message-driven consumers, and handling acknowledgments and transactions. Use cases include building asynchronous, reliable, and scalable integrations using messaging patterns.</li></ul><h4>Anypoint Exchange and Community Connectors</h4><p>The Anypoint Exchange is a central repository where MuleSoft users can discover and share assets, including Anypoint Connectors. It serves as a platform for collaboration and knowledge sharing within the MuleSoft community. In the Anypoint Exchange, you can find connectors contributed by both MuleSoft and community developers.</p><p>Community connectors are connectors developed by the MuleSoft community and shared on the Anypoint Exchange. These connectors cater to specific systems, services, or APIs that might not have official MuleSoft-provided connectors. By leveraging community connectors, you can benefit from the collective expertise of the community and accelerate integration development.</p><h4>Conclusion</h4><p>Anypoint Connectors are a game-changer for integration development in Mule 4, enabling developers to rapidly connect and integrate with various systems and services. By understanding the capabilities and usage patterns of Anypoint Connectors, and following best practices, you can unlock the full potential of the Anypoint Platform, build robust integrations, and accelerate the delivery of connected experiences for your organization and end-users.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f3b5718f8152" width="1" height="1" alt=""><hr><p><a href="https://medium.com/another-integration-blog/anypoint-connectors-unlocking-integration-possibilities-in-mule-4-f3b5718f8152">Anypoint Connectors: Unlocking Integration Possibilities in Mule 4</a> was originally published in <a href="https://medium.com/another-integration-blog">Another Integration Blog</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to Successfully Connect the Graylog Platform With MuleSoft]]></title>
            <link>https://medium.com/another-integration-blog/how-to-successfully-connect-the-graylog-platform-with-mulesoft-600f30ae6f6a?source=rss-7273122e883b------2</link>
            <guid isPermaLink="false">https://medium.com/p/600f30ae6f6a</guid>
            <category><![CDATA[developer-guide]]></category>
            <category><![CDATA[anypoint-platform]]></category>
            <category><![CDATA[graylog]]></category>
            <category><![CDATA[integration]]></category>
            <category><![CDATA[mulesoft]]></category>
            <dc:creator><![CDATA[Marko Huzanić]]></dc:creator>
            <pubDate>Tue, 13 Jun 2023 10:04:46 GMT</pubDate>
            <atom:updated>2023-06-19T19:50:00.607Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gLkzjMfYdcBc8W94npsDAg.jpeg" /></figure><p>MuleSoft’s comprehensive logging system provides detailed information that you can use to optimize performance, identify potential security issues, and better inform both your technical and strategic business decisions. The tools MuleSoft provides to analyze this data can be helpful when you’re starting out, but data-centric organizations will rapidly hit a wall. Thankfully, MuleSoft provides the possibility to externalize application logs to third-party services.</p><p>External logging platforms allow users to configure custom dashboards, apply filters, receive monitoring alerts, and much more. These features are all focused on finding the right information faster and presenting it efficiently, saving time for implementers and technical managers while reducing costs for the organization. The best of breed solutions allow teams to configure custom metrics and design diagrams using custom input data. Offloading these logs to a third party also means you’ll have access to them even when the applications they reference fail or disappear, allowing operators to reconstruct the events that led to the crash</p><p>There are many players in the space for you to consider, but the <a href="https://www.graylog.org/">Graylog platform</a> stands out for its dogged focus on log collection and analysis. Competitors like the ELK stack are designed for more general purpose data collection and analysis, making them incredibly powerful tools with complicated management and configuration. Graylog’s narrow focus belies a powerful set of features that make it easier for individuals and teams to manage and monitor their MuleSoft applications.</p><p>The Graylog platform can receive messages using a variety of common protocols, including HTTP, UDP, TCP, and more. Its fully customizable and configurable dashboard allows teams to create visualizations for their data that focus on what they find important. Administrators may configure custom alerts to send email or HTTP notifications triggered by specific application or server events, and the Streams function allows for custom rules-based routing of incoming messages.</p><h3>Configure Graylog’s input</h3><p>To start exploring the possibilities, you’ll first need to access the Graylog Platform. This article assumes you’ll be using the Graylog Open Source product on a local machine, though the same steps should apply when using their enterprise or cloud managed solutions. More information can be found on the Graylog site.</p><p>You must first configure a new input configuration in Graylog to receive messages from our MuleSoft application.</p><p>Look for and click on the “Inputs” option under the “System / Inputs” option in Graylog’s top navigation.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/127/1*K1po6H2SkMvpmR3vppbHEA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/642/1*mILKTZ0BK-hAt0ghiDpe4w.png" /></figure><p>The Inputs page prompts you to select a new input. For this example, we’ll use “GELF UDP,” which is Graylog’s Extended Log Format. GELF UDP allows for the fast collection of more data than traditional loggers like syslog can handle. Select the option labeled “GELF UDP” from the dropdown and click the ‘Launch new input’ button.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/637/1*wtBjXN4cMmqiaCSo5GEZPA.png" /></figure><p>Next, configure the GELF UDP connection so it’s ready to listen to events sent by your application. Start by selecting the node representing the Graylog installation you want to configure. If you’re only running one instance of Graylog, there should be only one node in the dropdown. Then, provide a title for your input configuration.</p><p>You must also define the UDP bind address and port that the Graylog server will listen on and MuleSoft will use to submit events. In the example below, we’re running Graylog in a Docker container, so we’re binding to the UDP broadcast address of 0.0.0.0. In production, you may consider supplying a fixed IP address to limit how Graylog can be accessed. Select any open port number for the port value.</p><p><strong>NOTE: </strong>You will need to remember the host IP and port you selected when you configure MuleSoft in the next steps.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/602/1*WS2G7fHjIn4VDXveCubrYw.png" /></figure><p>Then, save the input configuration.</p><h3>Configure MuleSoft to push log messages to Graylog</h3><p>Whether you are creating a new application in MuleSoft or adding logging to an existing project, you will need to edit the project’s Log4j and pom.xml files. If the project exists under another domain, you must also perform these same actions for the files belonging to the domain project.</p><p>Configure and define the following package in Log4j, being sure to replace the “originHost” parameter with the fully qualified domain name (e.g. “server.mydomain.tld”) of your MuleSoft implementation and the {host} and {port} values with the ones you configured in Graylog.</p><pre>&lt;Configuration status=&quot;debug&quot;  packages=&quot;biz.paluch.logging.gelf.log4j2&quot;&gt; <br>&lt;Gelf name=&quot;gelf&quot; <br>      host=&quot;udp:{host}&quot; <br>      port=&quot;{port}&quot; version=&quot;1.0&quot;  <br>      extractStackTrace=&quot;true&quot; filterStackTrace=&quot;true&quot;  <br>      mdcProfiling=&quot;true&quot;  <br>      includeFullMdc=&quot;true&quot; maximumMessageSize=&quot;8192&quot;  <br>      originHost=&quot;{fully qualified domain name}&quot;  <br>      additionalFieldTypes=&quot;fieldName1=String, fieldName2=Double,fieldName3=Long&quot;  <br>      ignoreExceptions=&quot;true&quot;&gt;  <br>  &lt;Field name=&quot;timestamp&quot; pattern=&quot;%d{dd MMM yyyy HH:mm: ss,SSS}&quot; /&gt;  <br>  &lt;Field name=&quot;level&quot; pattern=&quot;%level&quot; /&gt;  <br>  &lt;Field name=&quot;simpleClassName&quot; pattern=&quot;%C{1}&quot; /&gt;  <br>  &lt;Field name=&quot;className&quot; pattern=&quot;%C&quot; /&gt;  <br>  &lt;Field name=&quot;server&quot; pattern=&quot;%host&quot; /&gt;  <br>  &lt;Field name=&quot;server.fqdn&quot; pattern=&quot;%host{fqdn}&quot; /&gt; <br>&lt;/Gelf&gt;   &lt;AsyncRoot level=&quot;INFO&quot;&gt;  <br>&lt;AppenderRef ref=&quot;file&quot;&gt;&lt;/AppenderRef&gt; <br>&lt;AppenderRef ref=&quot;gelf&quot;&gt;&lt;/AppenderRef&gt; <br>&lt;/AsyncRoot&gt;</pre><p>Add the following dependency to the project’s pom.xml file:</p><pre>&lt;dependency&gt;  <br>   &lt;groupId&gt;biz.paluch.logging&lt;/groupId&gt;  <br>  &lt;artifactId&gt;logstash-gelf&lt;/artifactId&gt;  <br>  &lt;version&gt;1.14.1&lt;/version&gt; <br>&lt;/dependency&gt;</pre><h3>Test your configuration</h3><p>To confirm everything is working as expected, we’ll set up a quick test using a MuleSoft Listener that sends messages through a standard Logger. Requests sent to the listener will trigger messages that are logged on our Graylog dashboard.</p><ul><li>Create a new MuleSoft project with a Listener and Logger. The Listener should use the default configuration and respond to requests sent to the path ‘/test’.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/331/1*Eee9eysF0sZx_OpjXcUzFA.png" /></figure><p>In the Logger, add the message that you want sent to Graylog.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DySdedTaEOG2eERHe0Qkgw.png" /></figure><p>Send an HTTP using curl, Postman, or any other REST API client request with a test body to the endpoint.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/659/1*mbv37iWvo7-PuGF-0Ct-8g.png" /></figure><p>In the Graylog dashboard, find the input you configured and click on the “Show received messages” button. The messages sent by our example will be organized by timestamp in descending order.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Sj62dV-JXQQfCpsTETbcEw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4JgPGzYBNLdK5aYk1K2T1Q.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ANk3kyAqxrnHfRH2vq8RxA.png" /></figure><h3>Conclusion: Logging in production</h3><p>You’ve now gone through every step required to send the logs and messages generated by the apps you build in MuleSoft to the Graylog platform. To provide external logging for your other applications, you’ll simply need to go through the same process of updating the pom.xml and log4j configuration files for each of them and in any domains they belong to.</p><p>If you installed Graylog locally for this example, you’ll want to take the time to properly implement Graylog in your production environment before sending any mission critical data to it. Graylog provides a number of options: open source self hosting, enterprise support, or a cloud managed solution, which you can learn more about on their site.</p><p>Once Graylog is fully implemented and your applications are properly configured, your users are ready to take advantage of Graylog’s extensive feature set. Your team can use the Graylog UI to add new rule sets, set up monitoring alerts, and create custom views and diagrams.</p><p>Graylog allows them to customize the system according to their needs to save time and make monitoring more effective. Collecting this data over time can help surface performance bottlenecks and identify potential security concerns. Most importantly, you’ll be able to more quickly find the information you need, making your IT processes more efficient and saving money for your organization.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=600f30ae6f6a" width="1" height="1" alt=""><hr><p><a href="https://medium.com/another-integration-blog/how-to-successfully-connect-the-graylog-platform-with-mulesoft-600f30ae6f6a">How to Successfully Connect the Graylog Platform With MuleSoft</a> was originally published in <a href="https://medium.com/another-integration-blog">Another Integration Blog</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Transactions in Mule 4]]></title>
            <link>https://medium.com/another-integration-blog/transactions-in-mule-4-4c5a46ede91d?source=rss-7273122e883b------2</link>
            <guid isPermaLink="false">https://medium.com/p/4c5a46ede91d</guid>
            <category><![CDATA[mulesoft]]></category>
            <category><![CDATA[transactions]]></category>
            <category><![CDATA[integration]]></category>
            <dc:creator><![CDATA[Marko Huzanić]]></dc:creator>
            <pubDate>Thu, 06 Apr 2023 08:34:21 GMT</pubDate>
            <atom:updated>2023-04-13T16:01:15.841Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tCQ8rBl12wOldlDpT7hMWA.jpeg" /></figure><h4>What are transactions?</h4><p>In a distributed system, transactions refer to a set of operations that must either all succeed or all fail. Transactions ensure data integrity, consistency, and reliability by making sure that if one part of a transaction fails, the entire transaction is rolled back, and no changes are made to the system.</p><p>Transactions can be used in various scenarios, such as updating a database, sending messages to a queue, or invoking a web service. Without transactions, it’s challenging to maintain the consistency of the data and ensure that all the operations are completed successfully.</p><h4>How do transactions work in Mule 4?</h4><p>In Mule 4, transactions are implemented using the Transaction Scope component. The Transaction Scope component is used to define the boundaries of a transaction, and it ensures that all the operations within the scope are either committed or rolled back as a unit.</p><p>The Transaction Scope component supports two types of transactions: Local transactions and XA transactions.</p><p>Local transactions are used when working with a single resource, such as a database. In a local transaction, the Transaction Scope component starts a new transaction, executes the specified operations, and either commits or rolls back the transaction based on the result of the operations.</p><p>XA transactions are used when working with multiple resources, such as databases or JMS queues. In an XA transaction, the Transaction Scope component coordinates the transaction across multiple resources, ensuring that either all the operations succeed, or all the operations are rolled back.</p><p>To use transactions in Mule 4, you need to add the Transaction Scope component to your flow, define the type of transaction, and specify the operations that need to be executed within the transaction scope. Here’s an example of a flow that uses a local transaction to delete and create a table in the database:</p><pre>&lt;flow name=&quot;transactional-flow&quot;&gt;<br>  &lt;http:listener config-ref=&quot;HTTP_Listener_config&quot;<br>   path=&quot;/transactional&quot; doc:name=&quot;HTTP&quot; /&gt;<br>  &lt;try doc:name=&quot;Try&quot; doc:id=&quot;b46915b1-a063-40f6-9ac3-f79be2ee06d1&quot;<br>   transactionalAction=&quot;ALWAYS_BEGIN&quot;&gt;<br>   &lt;db:delete doc:name=&quot;Delete User&quot;<br>    doc:id=&quot;94c1b756-d5d2-4d18-a2cf-799ef9d37822&quot;<br>    config-ref=&quot;Database_Config&quot; transactionalAction=&quot;ALWAYS_JOIN&quot;&gt;<br>    &lt;db:sql&gt;&lt;![CDATA[DELETE FROM User;]]&gt;&lt;/db:sql&gt;<br>   &lt;/db:delete&gt;<br>   &lt;db:bulk-insert doc:name=&quot;Create User&quot;<br>    doc:id=&quot;3e235dc2-c26d-411d-8ff0-feb932dfbce2&quot;<br>    config-ref=&quot;Database_Config&quot; transactionalAction=&quot;ALWAYS_JOIN&quot;&gt;<br>    &lt;db:bulk-input-parameters&gt;&lt;![CDATA[#[payload.name]]]&gt;&lt;/db:bulk-input-parameters&gt;<br>    &lt;db:sql&gt;&lt;![CDATA[INSERT INTO Table <br>VALUES (:id, :name1, :name2, :city, :zip_code, :street, :house_num1, :house_num2, :country_code, :phone, :phone_extension, :email, :remark);]]&gt;&lt;/db:sql&gt;<br>   &lt;/db:bulk-insert&gt;<br>  &lt;/try&gt;<br> &lt;/flow&gt;</pre><p>In this example, the Transaction Scope component is defined using the try scope with db:transactional element, which specifies that a local transaction should be used. The db:delete and db:create elements contain the SQL queries that delete and create the users’ table, and the db:in-param elements specify the values of the query parameters.</p><h4>Conclusion</h4><p>Transactions are an essential feature of any integration platform, including Mule 4. They ensure data consistency and reliability by making sure that all the operations either succeed or fail as a unit. In Mule 4, transactions are implemented using the Transaction Scope component, which provides support for both local and XA transactions. By using the Transaction Scope component, you can easily define the boundaries of a transaction and ensure that your integration flows are reliable and consistent.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4c5a46ede91d" width="1" height="1" alt=""><hr><p><a href="https://medium.com/another-integration-blog/transactions-in-mule-4-4c5a46ede91d">Transactions in Mule 4</a> was originally published in <a href="https://medium.com/another-integration-blog">Another Integration Blog</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Microsoft Outlook 365 Connector in MuleSoft]]></title>
            <link>https://medium.com/another-integration-blog/microsoft-outlook-365-connector-in-mulesoft-8a9dcb4c84b?source=rss-7273122e883b------2</link>
            <guid isPermaLink="false">https://medium.com/p/8a9dcb4c84b</guid>
            <category><![CDATA[outlook]]></category>
            <category><![CDATA[integration]]></category>
            <category><![CDATA[mulesoft]]></category>
            <category><![CDATA[connector]]></category>
            <dc:creator><![CDATA[Marko Huzanić]]></dc:creator>
            <pubDate>Wed, 05 Apr 2023 07:40:07 GMT</pubDate>
            <atom:updated>2023-04-10T18:53:28.811Z</atom:updated>
            <content:encoded><![CDATA[<p>Microsoft Outlook 365 is a widely-used email and calendar application used by businesses around the world. Integrating Outlook 365 with other applications can be a powerful way to automate business processes and improve productivity.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/850/1*Zy2cingGseOMCTy6E2CIIA.jpeg" /></figure><p>In this article, we will explore the features and benefits of the Microsoft Outlook 365 Connector in Mule 4, and discuss how to use it to build robust and efficient integration solutions.</p><p><strong>Features of the Microsoft Outlook 365 Connector:</strong></p><p>The Microsoft Outlook 365 Connector in Mule 4 provides a wide range of features that make it a powerful integration solution for organizations. Some of these features include:</p><ol><li><strong>Email Management</strong>: With the Microsoft Outlook 365 Connector, developers can easily manage emails, such as sending and receiving emails, deleting emails, and searching for emails based on specific criteria.</li><li><strong>Calendar Management</strong>: The connector also provides calendar management capabilities, enabling developers to create and manage events, appointments, and meetings in Microsoft Outlook.</li><li><strong>Attachment Management</strong>: The connector allows developers to work with email attachments, such as downloading attachments, uploading attachments, and deleting attachments.</li><li><strong>Contacts Management</strong>: With the Microsoft Outlook 365 Connector, developers can manage contacts, such as creating new contacts, updating existing contacts, and deleting contacts.</li><li><strong>Authentication and Authorization</strong>: The connector provides a secure way to authenticate and authorize access to Microsoft Outlook, using OAuth 2.0 authentication.</li></ol><p><strong>Benefits of the Microsoft Outlook 365 Connector:</strong></p><p>The Microsoft Outlook 365 Connector in Mule 4 provides a wide range of benefits for organizations that use Microsoft Outlook as their primary email and calendar management system. Some of these benefits include:</p><ol><li><strong>Increased Productivity</strong>: By automating processes and streamlining workflows, the Microsoft Outlook 365 Connector helps organizations to increase productivity and efficiency, enabling them to focus on their core business activities.</li><li><strong>Improved Collaboration</strong>: The connector enables teams to work collaboratively on email and calendar management tasks, helping to improve communication and collaboration across the organization.</li><li><strong>Scalability</strong>: With the Microsoft Outlook 365 Connector, organizations can easily scale their integration solutions to meet their growing business needs, without having to worry about managing infrastructure and resources.</li><li><strong>Cost-Effective</strong>: The connector provides a cost-effective integration solution, as organizations do not have to invest in expensive hardware and software to manage their email and calendar systems.</li></ol><p><strong>Setting up the Microsoft Outlook 365 Connector:</strong></p><p>To use the Microsoft Outlook 365 Connector in Mule 4, you will need to set up an OAuth 2.0 connection with Microsoft Graph API. Here are the steps to set up the connector:</p><ol><li>Go to the Microsoft Azure portal and create a new Azure Active Directory application.</li><li>Grant the application permission to access the Microsoft Graph API.</li><li>Generate a client secret for the application.</li><li>In Anypoint Studio, create a new Mule project and add the Microsoft Outlook 365 Connector to your project.</li><li>Configure the Connector with the necessary credentials, including the Client ID, Client Secret, and Tenant ID.</li><li>Once the Microsoft Outlook 365 Connector is set up, you can use it to interact with Outlook 365 in Mule 4.</li></ol><p><strong>Conclusion</strong></p><p>The Microsoft Outlook 365 Connector in Mule 4 provides a powerful integration solution for organizations that use Microsoft Outlook as their primary email and calendar management system. With its wide range of features and benefits, the connector enables organizations to automate processes, streamline workflows, and improve productivity. By following the steps outlined in this article, developers can easily use the Microsoft Outlook 365 Connector in Mule 4 to build robust and efficient integration solutions.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8a9dcb4c84b" width="1" height="1" alt=""><hr><p><a href="https://medium.com/another-integration-blog/microsoft-outlook-365-connector-in-mulesoft-8a9dcb4c84b">Microsoft Outlook 365 Connector in MuleSoft</a> was originally published in <a href="https://medium.com/another-integration-blog">Another Integration Blog</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What Anypoint Monitoring is and how to set it up on-premises]]></title>
            <link>https://medium.com/another-integration-blog/what-anypoint-monitoring-is-and-how-to-set-it-up-on-premises-675305f20a71?source=rss-7273122e883b------2</link>
            <guid isPermaLink="false">https://medium.com/p/675305f20a71</guid>
            <category><![CDATA[monitoring-software]]></category>
            <category><![CDATA[mulesoft]]></category>
            <category><![CDATA[api]]></category>
            <category><![CDATA[integration]]></category>
            <category><![CDATA[anypoint-platform]]></category>
            <dc:creator><![CDATA[Marko Huzanić]]></dc:creator>
            <pubDate>Fri, 09 Dec 2022 18:14:29 GMT</pubDate>
            <atom:updated>2022-12-13T22:23:36.695Z</atom:updated>
            <content:encoded><![CDATA[<p>Anypoint Monitoring is one of the components of the Anypoint Platform. It gives you feedback and provides visibility into integrations across your app network. With the Monitoring tool, you can diagnose issues, it provides aggregate metrics across dependent systems in real time. Anypoint Monitoring allows you to create custom alerts and custom dashboards with desired data and metrics displayed.</p><h4><strong>Implementing Anypoint Monitoring on-premises</strong></h4><p>Follow the next steps to implement monitoring on-premises:</p><ol><li>Go on Anypoint Platform and click on <strong>Monitoring </strong>in the menu</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/295/1*LNOkb7A4ngp_YlzuGKKC7g.png" /></figure><p>2. On the left side select <strong>Settings</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/212/1*sQFcEqmLfUaR_iJE6qlYvg.png" /></figure><p>3. In the setting menu select the desired <strong>environment</strong> <strong>and server</strong></p><p>4. Download <strong>am.zip</strong></p><p>5. <strong>Copy am.zip</strong> to the Home directory on the server</p><pre>scp am-v.zip user@server: ~</pre><p>6. <strong>Unzip am.zip</strong> in the Home directory</p><pre>unzip am-v.zip</pre><p>7. <strong>Copy unzipped</strong> am directory to Mule Standalone Runtime directory</p><pre>sudo cp -R am /opt/mule-enterprise-standalone-4.x.x/</pre><p>8. Change the user to root if you need higher lever permission</p><pre>sudo su –</pre><p>9. Go to the directory where you copied am directory and <strong>run the install</strong> command — if you are asked to monitor as a service, type in <strong>N</strong></p><pre>cd /opt/mule-enterprise-standalone-4.x.x/am<br>./bin/install</pre><p>10. Restart Mule Standalone Runtime</p><pre>systemctl restart mule_ee</pre><p>11. Check if the Mule Standalone Runtime is running again</p><pre>systemctl status mule_ee</pre><p>12. Go to the am directory again and <strong>start the Anypoint Monitoring</strong></p><pre>cd /opt/mule-enterprise-standalone-4.x.x/am<br>./bin/setup <br>./bin/am start</pre><p>13. Open the Anypoint Platform and select Monitoring once more. Wait until Environment and Resource name selection appears.</p><p>14. Now you are able to select Environment and Resource name</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/734/1*GCQECsQ3TMMCKkV9HiDXSA.png" /></figure><p>15. Select <strong>View </strong>and you will be on the <strong>Overview </strong>dashboard with different graphs and metrics</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*VNHDc1D4vJCdFgai_V57yQ.png" /></figure><p>16. Filter reports by minutes, hours, days, or months</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/874/1*4eXoCCj39hH8920ElRu7Tg.png" /></figure><p>17. Navigate over <strong>Inbound </strong>and <strong>Outbound dashboards</strong> to check inbound and outbound requests or over other offered dashboards in order to verify different metrics</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*VWiCqQlYDpnQl-MAfnL1Lw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8eLlAARjy5uMsGxsV9EDRQ.png" /></figure><h3><strong>Conclusion</strong></h3><p>Anypoint Monitoring is a powerful tool for having deep insight into what is happening in specific APIs. If you have permission to <strong>set up </strong>Monitoring,<strong> </strong>then <strong>use Monitoring </strong>— its benefits can save you valuable time. With the guidance above, it should be a straightforward process.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=675305f20a71" width="1" height="1" alt=""><hr><p><a href="https://medium.com/another-integration-blog/what-anypoint-monitoring-is-and-how-to-set-it-up-on-premises-675305f20a71">What Anypoint Monitoring is and how to set it up on-premises</a> was originally published in <a href="https://medium.com/another-integration-blog">Another Integration Blog</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>