Open in app

Sign in

Write

Sign in

Randini Senanayake
Randini Senanayake

9 Followers

Home

About

Pinned

Filtering expired items DynamoDB TTL implementation

Requirement : Filter expired items from the DynamoDB using a AWS Lambda Function Explanation : Depending on the size and activity level of a table, the actual delete operation of an expired item can vary. TTL typically deletes expired items within 48 hours of expiration [1]. …

Lambda

1 min read

Lambda

1 min read


Pinned

Connecting Syslog-ng and WSO2 EI

This series of topics will be about connecting the Syslog server and WSO2 EI and establishing mutual authentication using TLS. Following are the topics that we will be focusing on to, Topic 1 : Building ESB artifacts Creating an ESB project Creating the sample message template Create a sample ESB project and create the content that you want to send…

Syslog Ng

6 min read

Connecting Syslog-ng and WSO2 EI
Connecting Syslog-ng and WSO2 EI
Syslog Ng

6 min read


Pinned

QueuePool limit of size 5 overflow 10 reached

Error : sqlalchemy.exc.TimeoutError: QueuePool limit of size 5 overflow 10 reached, connection timed out, timeout 30.00 Reason : The timeout occurs due to the open connection. You must ensure that your sessions are closed; otherwise, they will keep your connections open and never return to the pool. log your pool status at some points, so that you can see how many connections are open. To close sessions:

Sqlalchemy

1 min read

Sqlalchemy

1 min read


Mar 9

Using WSO2 Cache Mediator with the Call Mediator

Usage : The Cache mediator determines if an incoming message is identical to one that was received within a predetermined window of time before allowing it to enter the message flow. By examining the hash value of incoming messages, this is accomplished. Setup Cache Mediator Proxy on ESB Step 01: Create a backend to send a…

Cache Mediator

2 min read

Cache Mediator

2 min read


Sep 23, 2022

Using the DynamoDB with Serverless Framework

Requirement : Create a table if non existent and enable TTL for a table via Cloud-formation. Explanation : Reference [1] will provide insight to install the requirements and build a sample project. Add the following code to the template.yaml file AWSTemplateFormatVersion: "2010-09-09" Transform: AWS::Serverless-2016-10-31 Description: > Parameters: AppName: Type: String Default: ii-app Stage: Type: String Default: dev

1 min read

1 min read


Nov 22, 2021

A required class was missing while executing org.wso2.maven:wso2-esb-api-plugin:2.1.0:pom-gen: javax/activation/DataSource

Issue : Following is a build error received when building a CAR project. [ERROR] Failed to execute goal org.wso2.maven:wso2-esb-api-plugin:2.1.0:pom-gen (api) on project TESTESB: Execution api of goal org.wso2.maven:wso2-esb-api-plugin:2.1.0:pom-gen failed: A required class was missing while executing org.wso2.maven:wso2-esb-api-plugin:2.1.0:pom-gen: javax/activation/DataSource [ERROR] ----------------------------------------------------- [ERROR] realm = extension>org.wso2.maven:wso2-esb-api-plugin:2.1.0 [ERROR] strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy

Java

1 min read

Java

1 min read


Jul 31, 2021

Unhandled Exception: SocketException: OS Error: Connection refused

Issue : Following is an error received when connecting PostgreSQL and Flutter. The error occurs when trying to connect through the android emulator in a development environment. E/flutter ( 8084): [ERROR:flutter/lib/ui/ui_dart_state.cc(157)] Unhandled Exception: SocketException: OS Error: Connection refused, errno = 111, address = localhost, port = 43992 Solution : Make sure you have given internet permission in your app’s by adding the following lines in the android/app/src/main/AndroidManifest.xml file

Flutter

1 min read

Flutter

1 min read


Mar 16, 2021

Extract body elements XML- WSo2 EI

Given the following soap message the use case it to extract only the elements of the body (exclude the soap envelope and body tags). Following is the XML message in which the content is needed to be extracted from. <?xml version="1.0" encoding="UTF-8"?> <soapenv:Envelope xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope"> <soapenv:Body> <AuditMessage> <EventIdentification EventActionCode="U" EventDateTime="not specialized" EventOutcomeIndicator="not specialized"> </AuditMessage> </soapenv:Body> </soapenv:Envelope>

Wso2

1 min read

Wso2

1 min read


Feb 19, 2021

Using Email connector with Wso2 MI

Refer for more information : https://ei.docs.wso2.com/en/latest/micro-integrator/references/connectors/email-connector/email-connector-overview/ Following is a small example to depict the use case of the email connector. Create a simple Rest API to get XML payload as input Extract some information from XML (like id, name …) Send an email via WSO2 Email Connector with the above…

Email Connector

4 min read

Using Email connector with Wso2 MI
Using Email connector with Wso2 MI
Email Connector

4 min read


Feb 19, 2021

Using Clone and Aggregate Mediators — WSO2 ESB / WSO2 MI

The Aggregate mediator implements the Aggregator enterprise integration pattern. It combines (aggregates) the response messages of messages that were split by the split by the Clone or Iterate mediator. Refer for more information : Clone Mediator — https://docs.wso2.com/enterprise-integrator/Aggregate+Mediator Aggregate Mediator — https://docs.wso2.com/enterprise-integrator/Clone+Mediator Following is a small example to depict the…

Wso2 Mi

2 min read

Using Clone and Aggregate Mediators — WSO2 ESB / WSO2 MI
Using Clone and Aggregate Mediators — WSO2 ESB / WSO2 MI
Wso2 Mi

2 min read

Randini Senanayake

Randini Senanayake

9 Followers

Help

Status

About

Careers

Blog

Privacy

Terms

Text to speech

Teams