GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Hello world main
  • Hello world service
  • Programs and modules
  • Main function
  • Init function
  • Variables and types
  • Identifiers
  • Integers
  • Floating point numbers
  • Decimal type
  • Nil
  • Boolean
  • Byte type
  • Strings

This view

  • Original page
  • New address

GeezerVison is showing ballerina.io — Ballerina by Example - The Ballerina programming language

    • Hello world main
    • Hello world service

    • Programs and modules
    • Main function
    • Init function
    • Variables and types
    • Identifiers

    • Integers
    • Floating point numbers
    • Decimal type
    • Nil
    • Boolean
    • Byte type

    • Strings

    • Binary operators
    • Unary operators

    • If statement
    • Match statement
    • Match guard in match statement
    • Binding patterns in match statement

    • Functions
    • Included record parameters
    • Rest parameters
    • Default values for function parameters
    • Provide function arguments by name
    • Rest arguments
    • Function pointers
    • Function values
    • Function types
    • Anonymous function
    • Function closure

    • Foreach statement
    • While statement
    • Break statement
    • Continue statement
    • Range function

    • Langlib functions

    • Structural typing
    • Unions
    • Errors
    • Anydata type
    • Any type
    • Type definitions
    • Typedesc type
    • Covariance
    • Type inference
    • Built-in integer subtypes
    • Built-in string subtype
    • ensureType function
    • Dependent types
    • Singleton types
    • Stream type
    • Never type

    • Expression-oriented style

    • Expression equality

    • Arrays
    • Nested arrays
    • Tuples
    • Rest type in tuples
    • Filler values of a list
    • List subtyping
    • List equality
    • Binary data

    • Maps
    • Records
    • Computed field key

    • Optional fields
    • Open records
    • Controlling openness
    • Type inclusion for records
    • Default values for record fields

    • Array/Map symmetry

    • Object
    • Defining classes
    • Object constructor
    • Object value from class definition
    • Visibility of object fields and methods
    • Init return type
    • Object types
    • Object type inclusion
    • Distinct object types
    • Object closure
    • Client class
    • Start service from service class definition

    • Binding patterns
    • Typed binding pattern
    • Wildcard binding pattern
    • List binding patterns
    • Rest binding pattern in list binding pattern
    • Mapping binding pattern
    • Rest binding pattern in mapping binding pattern
    • Error binding pattern
    • Rest binding pattern in error binding pattern
    • Single use of typed binding patterns
    • Single use of typed binding patterns with on fail clause
    • Iterative use of typed binding patterns
    • List binding pattern in match statement
    • Mapping binding pattern in match statement
    • Error binding pattern in match statement

    • Table
    • Table types
    • Multiple key fields
    • Structured keys

    • Query expressions
    • Sort iterable objects
    • Let clause
    • Limit clause
    • Join iterable objects
    • Outer Join clause
    • Query tables
    • Create tables with a query
    • Create maps with a query
    • Create streams with a query
    • On conflict clause
    • Advanced conflict handling
    • Iterate over XML with a query
    • Nested query expressions
    • Destructure records using a query
    • Querying streams
    • Aggregation

    • Query actions

    • JSON type
    • Access JSON elements
    • Access optional JSON elements
    • Match statement with maps
    • Convert from user-defined type to JSON
    • Convert from table and XML to JSON
    • Convert from JSON to user-defined type
    • Cast JSON to user-defined type
    • Resource method typing
    • JSON numbers
    • JSON to record
    • JSON to record with projection
    • JSONPath expressions

    • Raw templates
    • String templates
    • XML templates

    • XML data model
    • XML operations
    • XML iteration
    • XML access
    • XML mutation
    • XML subtyping
    • XML navigation
    • XML templates and query
    • XML namespaces
    • XMLNS declarations
    • XML to record
    • XML to record with projection

    • RegExp type
    • RegExp operations overview
    • RegExp replace operations
    • RegExp find operations
    • RegExp match operations

    • Documentation
    • Annotations

    • Consume services: client objects
    • Provide services
    • Module lifecycle
    • Service declaration
    • Resource methods
    • Hierarchical resources
    • Resource path parameters

    • Configurable variables
    • Configure via TOML files
    • Configure via CLI arguments

    • Error handling
    • Check expression
    • Error subtyping
    • Panics
    • Trap expression
    • Type intersection for error types
    • Error detail
    • Error cause

    • Ignore return values and errors

    • Identity
    • Const and final
    • Enumerations
    • Immutability

    • Asynchronous function calls
    • Named workers
    • Sequence diagrams
    • Wait for workers
    • Strands
    • Named worker return values
    • Alternate wait
    • Multiple wait
    • Named workers and futures
    • Inter-worker message passing
    • Alternate receive
    • Multiple receive
    • Conditional send
    • Inter-worker failure propagation
    • Named worker with on fail clause
    • Synchronize message passing
    • Asynchronize message passing
    • Flush
    • Fork

    • Transaction statement
    • Check semantics
    • Rollback
    • Retry transaction statement
    • Transactional qualifier
    • Transactional named workers
    • Commit/rollback handlers

    • Lock statement
    • Isolated functions
    • Readonly type
    • Readonly and isolated
    • Readonly objects and classes
    • Combining isolated functions and lock
    • Isolated variables
    • Isolated methods
    • Isolated objects
    • Inferring isolated
    • Run strands safely on separate threads

    • Interface to external code

    • Assertions
    • Before and after test
    • Before and after each
    • Before and after groups
    • Before and after suite
    • Data-driven tests
    • Guarantee test execution order
    • Group tests
    • Function mocking
    • Object mocking

    • Basic REST service
    • Service and resource paths
    • Payload data binding
    • Payload constraint validation
    • Path parameter
    • Query parameter
    • Header parameter
    • Send response
    • Send different status codes
    • Send different status codes with payload
    • Error handling
    • Send cache response

    • Send request/Receive response
    • Payload data binding
    • Payload constraint validation
    • Path parameter
    • Query parameter
    • Header parameter
    • Enable caching

    • SSL/TLS
    • Mutual SSL
    • Basic authentication file user store
    • Basic authentication LDAP user store
    • JWT authentication
    • OAuth2

    • SSL/TLS
    • Mutual SSL
    • Basic authentication
    • Bearer token authentication
    • Self-signed JWT authentication
    • OAuth2 client credentials grant type
    • OAuth2 password grant type
    • OAuth2 refresh token grant type
    • OAuth2 JWT bearer grant type

    • Timeout
    • Retry
    • Circuit breaker
    • Load balancer
    • Failover

    • Default resource
    • Request/Response object
    • Caller object
    • Redirects
    • CORS
    • 100 continue
    • Matrix parameter
    • Restrict by media type
    • File upload
    • Compression
    • Trace logs
    • Access logs
    • Cookies
    • Chunking
    • Sending headers
    • Response with multiparts
    • Passthrough
    • HTTP/2 to HTTP/1.1 downgrade
    • HTTP/2 server push
    • Server-sent events

    • Redirects
    • File upload
    • Cookies
    • Chunking
    • Request with multiparts
    • HTTP/2 to HTTP/1.1 downgrade
    • HTTP/2 prior knowledge
    • HTTP/2 server push
    • Server-sent events

    • Request interceptor
    • Response interceptor
    • Error handling
    • Interceptor error handling

    • Hello world
    • Service as output object
    • Record as output object
    • Input types
    • Mutations
    • Subscriptions
    • Input objects
    • ID scalar type
    • Interfaces
    • Interfaces implementing interfaces
    • Union types
    • Error handling
    • GraphiQL client
    • Documentation
    • Directives
    • Hierarchical resource paths

    • Context object
    • Field object
    • Service interceptors
    • Field interceptors
    • Interceptor configurations
    • Input constraint validation
    • File upload
    • Dataloader
    • Custom prefetch methods
    • Operation-level caching
    • Field-level caching
    • Cache invalidation
    • Query Complexity

    • Query GraphQL endpoint
    • Handle partial response
    • Handle error response

    • SSL/TLS
    • Mutual SSL
    • Basic authentication file user store
    • Basic authentication LDAP user store
    • JWT authentication
    • OAuth2

    • SSL/TLS
    • Mutual SSL
    • Basic authentication
    • Self-signed JWT authentication
    • OAuth2 password grant type

    • Send/Receive message
    • Payload constraint validation
    • Error handling
    • Query parameter

    • Send/Receive message
    • Payload constraint validation

    • SSL/TLS
    • Mutual SSL
    • Basic authentication file user store
    • Basic authentication LDAP user store
    • JWT authentication
    • OAuth2

    • SSL/TLS
    • Mutual SSL
    • Basic authentication
    • Bearer token authentication
    • Self-signed JWT authentication
    • OAuth2 client credentials grant type
    • OAuth2 password grant type
    • OAuth2 refresh token grant type
    • OAuth2 JWT bearer grant type

    • Timeout
    • Retry

    • Consume github events

    • Dynamic listener
    • StopHandler

    • Simple RPC
    • Server-side streaming RPC
    • Client-side streaming RPC
    • Bidirectional streaming RPC
    • Send/Receive headers
    • Server reflection
    • Check deadline

    • Simple RPC
    • Server-side streaming RPC
    • Client-side streaming RPC
    • Bidirectional streaming RPC
    • Send/Receive headers
    • Set deadline

    • SSL/TLS
    • Mutual SSL
    • Basic authentication file user store
    • Basic authentication LDAP user store
    • JWT authentication
    • OAuth2

    • SSL/TLS
    • Mutual SSL
    • Basic authentication
    • Bearer token authentication
    • Self-signed JWT authentication
    • OAuth2 client credentials grant type
    • OAuth2 password grant type
    • OAuth2 refresh token grant type
    • OAuth2 JWT bearer grant type

    • Consume message
    • Send reply to request message
    • Constraint validations
    • Consume JetStream message

    • Publish message
    • Send request message
    • Publish message

    • SSL/TLS
    • Basic authentication

    • SSL/TLS
    • Basic authentication

    • Consume message
    • Constraint validation
    • Error handling

    • Produce message

    • Payload data binding
    • Consumer record data binding
    • Constraint validation

    • SSL/TLS
    • SASL authentication

    • SSL/TLS
    • SASL authentication

    • SSL/TLS
    • SASL authentication

    • Send/Receive

    • SSL/TLS
    • Inbound Security
    • Outbound Security

    • Consume message
    • Consume message with acknowledgement
    • Transactional consumer
    • Constraint validation

    • Declare a queue
    • Produce message
    • Consume message
    • Transactional producer
    • Constraint validation

    • SSL/TLS
    • Basic authentication

    • SSL/TLS
    • Basic authentication

    • Subscribe to messages

    • Publish message

    • SSL/TLS
    • Basic authentication

    • SSL/TLS
    • Basic authentication

    • Add/Remove entries
    • Search for an entry

    • Consume message

    • Produce message
    • Transactions

    • Consume message
    • Manual acknowledgment

    • Send/Receive bytes

    • Send/Receive bytes

    • SSL/TLS

    • SSL/TLS

    • Send/Receive datagram

    • Send/Receive datagram
    • Send/Receive datagram with connection

    • Receive email

    • Send email
    • Receive email

    • SSL/TLS

    • SSL/TLS

    • Receive file
    • Caller object

    • Write file
    • Read file

    • Receive file
    • Caller object

    • Write file
    • Read file

    • Receive file
    • Caller object

    • Write file
    • Read file

    • Simple query
    • Query with one result
    • Query with advanced mapping
    • DML and DDL operations
    • Batch execution
    • Atomic transactions
    • Call stored procedures

    • Listen to database
    • Group events by table

    • Serialization/Deserialization

    • Read/write bytes
    • Read/write strings
    • Read/write CSV
    • Read/write CSV with data mapping
    • Read/write JSON
    • Read/write XML

    • Message store type
    • In-memory message store
    • Message Store Listener

    • Cryptographic operations
    • JWT issue/validate

    • URL encode/decode operations

    • UTC time
    • Time with zone offset
    • Time formatting/parsing
    • Time Zone

    • Cache basics
    • Cache invalidation

    • Logging
    • Logging with context
    • Error Logging
    • Configure logging
    • Log file rotation
    • Child loggers with context
    • Logger from configuration
    • Custom logger
    • Sensitive data logging

    • EDI to record conversion
    • Record to EDI conversion
    • Read EDI envelope headers
    • Parse an EDI interchange

    • Environment variables

    • File paths
    • Directories
    • Files
    • Temp files and directories
    • Directory listener

    • Random numbers

    • Schedule job recurrence by frequency
    • Schedule one time job
    • Manage scheduled jobs

    • Generate UUID
    • UUID operations

    • Create a ZIP archive
    • Extract a ZIP archive
    • Unpack an untrusted archive

    • XSLT transformation

    • XML to JSON conversion
    • JSON to XML conversion
    • XML to record conversion
    • Record to XML conversion

    • YAML to anydata
    • YAML to anydata with projection
    • Serialize to YAML string

    • Convert CSV string to records
    • Convert CSV string to arrays
    • Parse CSV byte streams to records
    • Parse CSV lists to custom types
    • Transform CSV records to custom types
    • Handle CSV with custom configurations

    • Parse Excel file to records
    • Write records to Excel file
    • Work with Excel tables
    • Parse Excel file to records - advanced

    • Constraint validations

    • Workflow
    • Activity
    • Data events
    • Durable sleep

    • Human task
    • Human task with REST API

    • Durable agent
    • Durable agent with human task
    • Durable agent with data events

    • Direct LLM calls
    • Direct LLM calls with history
    • Direct LLM calls with multimodal input

    • RAG with in-memory vector store
    • RAG ingestion with external vector store
    • RAG query with external vector store

    • MCP service
    • MCP advanced service

    • Agent with local tools
    • Agent with MCP integration
    • Agent with external endpoint integration
    • Chat agents
    • Agent with tool kits

    • Natural expressions

    • Hello world

    • Hello world

    • Hello world
    • Execution context
    • S3 trigger
    • DynamoDB trigger

    • Hello world
    • Timer trigger
    • HTTP trigger with queue
    • Cosmos DB trigger

    • Get all
    • Get by key
    • Select fields
    • Filter and sort
    • Relation queries

    • Create/Create many
    • Update
    • Delete

    • Distributed tracing

    • Gauge-based metrics
    • Counter-based metrics

Ballerina By Example

Ballerina by Example enables you to have complete coverage over the language, while emphasizing incremental learning. This is a series of commented example programs.

Language concepts


  • Hello World
  • Hello world main
  • Hello world service
  • Basics
  • Programs and modules
  • Main function
  • Init function
  • Variables and types
  • Identifiers
  • Simple basic types
  • Integers
  • Floating point numbers
  • Decimal type
  • Nil
  • Boolean
  • Byte type
  • Strings
  • Strings
  • Operators
  • Binary operators
  • Unary operators
  • Conditional statements
  • If statement
  • Match statement
  • Match guard in match statement
  • Binding patterns in match statement
  • Functions
  • Functions
  • Included record parameters
  • Rest parameters
  • Default values for function parameters
  • Provide function arguments by name
  • Rest arguments
  • Function pointers
  • Function values
  • Function types
  • Anonymous function
  • Function closure
  • Iteration
  • Foreach statement
  • While statement
  • Break statement
  • Continue statement
  • Range function
  • Lang library
  • Langlib functions
  • Types and typing
  • Structural typing
  • Unions
  • Errors
  • Anydata type
  • Any type
  • Type definitions
  • Typedesc type
  • Covariance
  • Type inference
  • Built-in integer subtypes
  • Built-in string subtype
  • ensureType function
  • Dependent types
  • Singleton types
  • Stream type
  • Never type
  • Expression-oriented style
  • Expression-oriented style
  • Equality
  • Expression equality
  • Lists
  • Arrays
  • Nested arrays
  • Tuples
  • Rest type in tuples
  • Filler values of a list
  • List subtyping
  • List equality
  • Binary data
  • Mappings
  • Maps
  • Records
  • Computed field key
  • Records
  • Optional fields
  • Open records
  • Controlling openness
  • Type inclusion for records
  • Default values for record fields
  • Array/Map symmetry
  • Array/Map symmetry
  • Objects
  • Object
  • Defining classes
  • Object constructor
  • Object value from class definition
  • Visibility of object fields and methods
  • Init return type
  • Object types
  • Object type inclusion
  • Distinct object types
  • Object closure
  • Client class
  • Start service from service class definition
  • Binding patterns
  • Binding patterns
  • Typed binding pattern
  • Wildcard binding pattern
  • List binding patterns
  • Rest binding pattern in list binding pattern
  • Mapping binding pattern
  • Rest binding pattern in mapping binding pattern
  • Error binding pattern
  • Rest binding pattern in error binding pattern
  • Single use of typed binding patterns
  • Single use of typed binding patterns with on fail clause
  • Iterative use of typed binding patterns
  • List binding pattern in match statement
  • Mapping binding pattern in match statement
  • Error binding pattern in match statement
  • Tables
  • Table
  • Table types
  • Multiple key fields
  • Structured keys
  • Query expressions
  • Query expressions
  • Sort iterable objects
  • Let clause
  • Limit clause
  • Join iterable objects
  • Outer Join clause
  • Query tables
  • Create tables with a query
  • Create maps with a query
  • Create streams with a query
  • On conflict clause
  • Advanced conflict handling
  • Iterate over XML with a query
  • Nested query expressions
  • Destructure records using a query
  • Querying streams
  • Aggregation
  • Query actions
  • Query actions
  • JSON
  • JSON type
  • Access JSON elements
  • Access optional JSON elements
  • Match statement with maps
  • Convert from user-defined type to JSON
  • Convert from table and XML to JSON
  • Convert from JSON to user-defined type
  • Cast JSON to user-defined type
  • Resource method typing
  • JSON numbers
  • JSON to record
  • JSON to record with projection
  • JSONPath expressions
  • Backtick templates
  • Raw templates
  • String templates
  • XML templates
  • XML
  • XML data model
  • XML operations
  • XML iteration
  • XML access
  • XML mutation
  • XML subtyping
  • XML navigation
  • XML templates and query
  • XML namespaces
  • XMLNS declarations
  • XML to record
  • XML to record with projection
  • Regular Expressions
  • RegExp type
  • RegExp operations overview
  • RegExp replace operations
  • RegExp find operations
  • RegExp match operations
  • Metadata
  • Documentation
  • Annotations
  • Network interaction
  • Consume services: client objects
  • Provide services
  • Module lifecycle
  • Service declaration
  • Resource methods
  • Hierarchical resources
  • Resource path parameters
  • Configurability
  • Configurable variables
  • Configure via TOML files
  • Configure via CLI arguments
  • Error handling
  • Error handling
  • Check expression
  • Error subtyping
  • Panics
  • Trap expression
  • Type intersection for error types
  • Error detail
  • Error cause
  • Ignore return values and errors
  • Ignore return values and errors
  • Mutability and identity
  • Identity
  • Const and final
  • Enumerations
  • Immutability
  • Concurrency
  • Asynchronous function calls
  • Named workers
  • Sequence diagrams
  • Wait for workers
  • Strands
  • Named worker return values
  • Alternate wait
  • Multiple wait
  • Named workers and futures
  • Inter-worker message passing
  • Alternate receive
  • Multiple receive
  • Conditional send
  • Inter-worker failure propagation
  • Named worker with on fail clause
  • Synchronize message passing
  • Asynchronize message passing
  • Flush
  • Fork
  • Transactions
  • Transaction statement
  • Check semantics
  • Rollback
  • Retry transaction statement
  • Transactional qualifier
  • Transactional named workers
  • Commit/rollback handlers
  • Concurrency safety
  • Lock statement
  • Isolated functions
  • Readonly type
  • Readonly and isolated
  • Readonly objects and classes
  • Combining isolated functions and lock
  • Isolated variables
  • Isolated methods
  • Isolated objects
  • Inferring isolated
  • Run strands safely on separate threads
  • Interface to external code
  • Interface to external code
  • Testing
  • Assertions
  • Before and after test
  • Before and after each
  • Before and after groups
  • Before and after suite
  • Data-driven tests
  • Guarantee test execution order
  • Group tests
  • Function mocking
  • Object mocking

Network libraries


  • REST service
  • Basic REST service
  • Service and resource paths
  • Payload data binding
  • Payload constraint validation
  • Path parameter
  • Query parameter
  • Header parameter
  • Send response
  • Send different status codes
  • Send different status codes with payload
  • Error handling
  • Send cache response
  • HTTP client
  • Send request/Receive response
  • Payload data binding
  • Payload constraint validation
  • Path parameter
  • Query parameter
  • Header parameter
  • Enable caching
  • REST service security
  • SSL/TLS
  • Mutual SSL
  • Basic authentication file user store
  • Basic authentication LDAP user store
  • JWT authentication
  • OAuth2
  • HTTP client security
  • SSL/TLS
  • Mutual SSL
  • Basic authentication
  • Bearer token authentication
  • Self-signed JWT authentication
  • OAuth2 client credentials grant type
  • OAuth2 password grant type
  • OAuth2 refresh token grant type
  • OAuth2 JWT bearer grant type
  • HTTP client resiliency
  • Timeout
  • Retry
  • Circuit breaker
  • Load balancer
  • Failover
  • HTTP service advanced
  • Default resource
  • Request/Response object
  • Caller object
  • Redirects
  • CORS
  • 100 continue
  • Matrix parameter
  • Restrict by media type
  • File upload
  • Compression
  • Trace logs
  • Access logs
  • Cookies
  • Chunking
  • Sending headers
  • Response with multiparts
  • Passthrough
  • HTTP/2 to HTTP/1.1 downgrade
  • HTTP/2 server push
  • Server-sent events
  • HTTP client advanced
  • Redirects
  • File upload
  • Cookies
  • Chunking
  • Request with multiparts
  • HTTP/2 to HTTP/1.1 downgrade
  • HTTP/2 prior knowledge
  • HTTP/2 server push
  • Server-sent events
  • HTTP service interceptors
  • Request interceptor
  • Response interceptor
  • Error handling
  • Interceptor error handling
  • GraphQL service
  • Hello world
  • Service as output object
  • Record as output object
  • Input types
  • Mutations
  • Subscriptions
  • Input objects
  • ID scalar type
  • Interfaces
  • Interfaces implementing interfaces
  • Union types
  • Error handling
  • GraphiQL client
  • Documentation
  • Directives
  • Hierarchical resource paths
  • GraphQL service advanced
  • Context object
  • Field object
  • Service interceptors
  • Field interceptors
  • Interceptor configurations
  • Input constraint validation
  • File upload
  • Dataloader
  • Custom prefetch methods
  • Operation-level caching
  • Field-level caching
  • Cache invalidation
  • Query Complexity
  • GraphQL client
  • Query GraphQL endpoint
  • Handle partial response
  • Handle error response
  • GraphQL service security
  • SSL/TLS
  • Mutual SSL
  • Basic authentication file user store
  • Basic authentication LDAP user store
  • JWT authentication
  • OAuth2
  • GraphQL client security
  • SSL/TLS
  • Mutual SSL
  • Basic authentication
  • Self-signed JWT authentication
  • OAuth2 password grant type
  • WebSocket service
  • Send/Receive message
  • Payload constraint validation
  • Error handling
  • Query parameter
  • WebSocket client
  • Send/Receive message
  • Payload constraint validation
  • WebSocket service security
  • SSL/TLS
  • Mutual SSL
  • Basic authentication file user store
  • Basic authentication LDAP user store
  • JWT authentication
  • OAuth2
  • WebSocket client security
  • SSL/TLS
  • Mutual SSL
  • Basic authentication
  • Bearer token authentication
  • Self-signed JWT authentication
  • OAuth2 client credentials grant type
  • OAuth2 password grant type
  • OAuth2 refresh token grant type
  • OAuth2 JWT bearer grant type
  • WebSocket client resiliency
  • Timeout
  • Retry
  • WebSub service
  • Consume github events
  • Listeners and StopHandlers
  • Dynamic listener
  • StopHandler
  • gRPC service
  • Simple RPC
  • Server-side streaming RPC
  • Client-side streaming RPC
  • Bidirectional streaming RPC
  • Send/Receive headers
  • Server reflection
  • Check deadline
  • gRPC client
  • Simple RPC
  • Server-side streaming RPC
  • Client-side streaming RPC
  • Bidirectional streaming RPC
  • Send/Receive headers
  • Set deadline
  • gRPC service security
  • SSL/TLS
  • Mutual SSL
  • Basic authentication file user store
  • Basic authentication LDAP user store
  • JWT authentication
  • OAuth2
  • gRPC client security
  • SSL/TLS
  • Mutual SSL
  • Basic authentication
  • Bearer token authentication
  • Self-signed JWT authentication
  • OAuth2 client credentials grant type
  • OAuth2 password grant type
  • OAuth2 refresh token grant type
  • OAuth2 JWT bearer grant type
  • NATS service
  • Consume message
  • Send reply to request message
  • Constraint validations
  • Consume JetStream message
  • NATS client
  • Publish message
  • Send request message
  • Publish message
  • NATS service security
  • SSL/TLS
  • Basic authentication
  • NATS client security
  • SSL/TLS
  • Basic authentication
  • Kafka service
  • Consume message
  • Constraint validation
  • Error handling
  • Kafka producer
  • Produce message
  • Kafka consumer
  • Payload data binding
  • Consumer record data binding
  • Constraint validation
  • Kafka service security
  • SSL/TLS
  • SASL authentication
  • Kafka producer security
  • SSL/TLS
  • SASL authentication
  • Kafka consumer security
  • SSL/TLS
  • SASL authentication
  • SOAP client
  • Send/Receive
  • SOAP client security
  • SSL/TLS
  • Inbound Security
  • Outbound Security
  • RabbitMQ service
  • Consume message
  • Consume message with acknowledgement
  • Transactional consumer
  • Constraint validation
  • RabbitMQ client
  • Declare a queue
  • Produce message
  • Consume message
  • Transactional producer
  • Constraint validation
  • RabbitMQ service security
  • SSL/TLS
  • Basic authentication
  • RabbitMQ client security
  • SSL/TLS
  • Basic authentication
  • MQTT service
  • Subscribe to messages
  • MQTT client
  • Publish message
  • MQTT service security
  • SSL/TLS
  • Basic authentication
  • MQTT client security
  • SSL/TLS
  • Basic authentication
  • LDAP client
  • Add/Remove entries
  • Search for an entry
  • JMS service
  • Consume message
  • JMS message producer
  • Produce message
  • Transactions
  • JMS message consumer
  • Consume message
  • Manual acknowledgment
  • TCP service
  • Send/Receive bytes
  • TCP client
  • Send/Receive bytes
  • TCP service security
  • SSL/TLS
  • TCP client security
  • SSL/TLS
  • UDP service
  • Send/Receive datagram
  • UDP client
  • Send/Receive datagram
  • Send/Receive datagram with connection
  • Email service
  • Receive email
  • Email client
  • Send email
  • Receive email
  • Email service security
  • SSL/TLS
  • Email client security
  • SSL/TLS
  • FTP service
  • Receive file
  • Caller object
  • FTP client
  • Write file
  • Read file
  • SFTP service
  • Receive file
  • Caller object
  • SFTP client
  • Write file
  • Read file
  • SMB service
  • Receive file
  • Caller object
  • SMB client
  • Write file
  • Read file
  • Database access
  • Simple query
  • Query with one result
  • Query with advanced mapping
  • DML and DDL operations
  • Batch execution
  • Atomic transactions
  • Call stored procedures
  • Change data capture
  • Listen to database
  • Group events by table

Common libraries


  • Avro
  • Serialization/Deserialization
  • IO
  • Read/write bytes
  • Read/write strings
  • Read/write CSV
  • Read/write CSV with data mapping
  • Read/write JSON
  • Read/write XML
  • Messaging
  • Message store type
  • In-memory message store
  • Message Store Listener
  • Security
  • Cryptographic operations
  • JWT issue/validate
  • URL
  • URL encode/decode operations
  • Time
  • UTC time
  • Time with zone offset
  • Time formatting/parsing
  • Time Zone
  • Cache
  • Cache basics
  • Cache invalidation
  • Log
  • Logging
  • Logging with context
  • Error Logging
  • Configure logging
  • Log file rotation
  • Child loggers with context
  • Logger from configuration
  • Custom logger
  • Sensitive data logging
  • EDI
  • EDI to record conversion
  • Record to EDI conversion
  • Read EDI envelope headers
  • Parse an EDI interchange
  • OS
  • Environment variables
  • File
  • File paths
  • Directories
  • Files
  • Temp files and directories
  • Directory listener
  • Random
  • Random numbers
  • Task
  • Schedule job recurrence by frequency
  • Schedule one time job
  • Manage scheduled jobs
  • UUID
  • Generate UUID
  • UUID operations
  • Zip
  • Create a ZIP archive
  • Extract a ZIP archive
  • Unpack an untrusted archive
  • XSLT
  • XSLT transformation
  • XML data
  • XML to JSON conversion
  • JSON to XML conversion
  • XML to record conversion
  • Record to XML conversion
  • YAML data
  • YAML to anydata
  • YAML to anydata with projection
  • Serialize to YAML string
  • CSV data
  • Convert CSV string to records
  • Convert CSV string to arrays
  • Parse CSV byte streams to records
  • Parse CSV lists to custom types
  • Transform CSV records to custom types
  • Handle CSV with custom configurations
  • XLSX data
  • Parse Excel file to records
  • Write records to Excel file
  • Work with Excel tables
  • Parse Excel file to records - advanced
  • Constraint
  • Constraint validations

Workflow


  • Workflow basics
  • Workflow
  • Activity
  • Data events
  • Durable sleep
  • Human tasks
  • Human task
  • Human task with REST API
  • Durable agents
  • Durable agent
  • Durable agent with human task
  • Durable agent with data events

Generative AI


  • Direct LLM calls
  • Direct LLM calls
  • Direct LLM calls with history
  • Direct LLM calls with multimodal input
  • Retrieval-augmented generation (RAG)
  • RAG with in-memory vector store
  • RAG ingestion with external vector store
  • RAG query with external vector store
  • Model context protocol (MCP)
  • MCP service
  • MCP advanced service
  • AI agents
  • Agent with local tools
  • Agent with MCP integration
  • Agent with external endpoint integration
  • Chat agents
  • Agent with tool kits
  • Natural expressions
  • Natural expressions

Deployment


  • Docker
  • Hello world
  • Kubernetes
  • Hello world
  • AWS Lambda
  • Hello world
  • Execution context
  • S3 trigger
  • DynamoDB trigger
  • Azure Functions
  • Hello world
  • Timer trigger
  • HTTP trigger with queue
  • Cosmos DB trigger

Bal persist


  • Query data
  • Get all
  • Get by key
  • Select fields
  • Filter and sort
  • Relation queries
  • Write data
  • Create/Create many
  • Update
  • Delete

Observability


  • Tracing
  • Distributed tracing
  • Metrics
  • Gauge-based metrics
  • Counter-based metrics
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.