Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

reading messages from service bus using azure logic apps #1238

Open
SurajSurendranZeus88 opened this issue Nov 19, 2024 · 0 comments
Open

reading messages from service bus using azure logic apps #1238

SurajSurendranZeus88 opened this issue Nov 19, 2024 · 0 comments

Comments

@SurajSurendranZeus88
Copy link

SurajSurendranZeus88 commented Nov 19, 2024

Describe the Bug with repro steps

reading messages from service bus using azure logic apps taking more time to read messages. It's reading messages one by one , do we have an option to read bulk messages . Is there any other alternative to read messages using azure eventhubs or so

What type of Logic App Is this happening in?

Consumption (Portal)

Which operating system are you using?

Windows

Are you using new designer or old designer

New Designer

Did you refer to the TSG before filing this issue? https://aka.ms/lauxtsg

Yes

Workflow JSON

{
    "definition": {
        "$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#",
        "contentVersion": "1.0.0.0",
        "triggers": {
            "When_a_message_is_received_in_a_queue_(auto-complete)": {
                "type": "ApiConnection",
                "inputs": {
                    "host": {
                        "connection": {
                            "name": "@parameters('$connections')['servicebus']['connectionId']"
                        }
                    },
                    "method": "get",
                    "path": "/@{encodeURIComponent(encodeURIComponent('servicebusibimiconnect'))}/messages/head",
                    "queries": {
                        "queueType": "Main"
                    }
                },
                "recurrence": {
                    "interval": 1,
                    "frequency": "Second",
                    "timeZone": "India Standard Time"
                }
            }
        },
        "actions": {
            "Create_file_1": {
                "type": "ApiConnection",
                "inputs": {
                    "host": {
                        "connection": {
                            "name": "@parameters('$connections')['azurefile']['connectionId']"
                        }
                    },
                    "method": "post",
                    "body": "@base64ToBinary(triggerBody()?['ContentData'])",
                    "headers": {
                        "ReadFileMetadataFromServer": true
                    },
                    "path": "/datasets/default/files",
                    "queries": {
                        "folderPath": "/servicebusmessagereader82ce/data",
                        "name": "@concat(ticks(utcnow()),'.json')",
                        "queryParametersSingleEncoded": true
                    }
                },
                "runAfter": {},
                "runtimeConfiguration": {
                    "contentTransfer": {
                        "transferMode": "Chunked"
                    }
                }
            }
        },
        "outputs": {},
        "parameters": {
            "$connections": {
                "type": "Object",
                "defaultValue": {}
            }
        }
    },
    "parameters": {
        "$connections": {
            "value": {
                "servicebus": {
                    "id": "/subscriptions/5797ad4d-f932-4877-9bcf-397888ec9c64/providers/Microsoft.Web/locations/southindia/managedApis/servicebus",
                    "connectionId": "/subscriptions/5797ad4d-f932-4877-9bcf-397888ec9c64/resourceGroups/PIO-Internal-DE-RG/providers/Microsoft.Web/connections/servicebus-17",
                    "connectionName": "servicebus-17"
                },
                "azurefile": {
                    "id": "/subscriptions/5797ad4d-f932-4877-9bcf-397888ec9c64/providers/Microsoft.Web/locations/southindia/managedApis/azurefile",
                    "connectionId": "/subscriptions/5797ad4d-f932-4877-9bcf-397888ec9c64/resourceGroups/PIO-Internal-DE-RG/providers/Microsoft.Web/connections/azurefile",
                    "connectionName": "azurefile"
                }
            }
        }
    }
}

Screenshots or Videos

No response

Browser

Chrome

Additional context

No response

@hartra344 hartra344 transferred this issue from Azure/LogicAppsUX Nov 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant