Skip to content

Add support for <db:select /> in mule #119

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

Closed
sanagaraj-pivotal opened this issue May 12, 2022 · 0 comments
Closed

Add support for <db:select /> in mule #119

sanagaraj-pivotal opened this issue May 12, 2022 · 0 comments

Comments

@sanagaraj-pivotal
Copy link
Contributor

What needs to be done

Add support for <db:select />

Acceptance Criteria

/info panel
Given
Mule xmls are detected
When
<db:select /> component is used
Then
Translate it to Equivalent Spring Integration DSL

Example:
Detects:

<db:select config-ref="Oracle_Configuration" doc:name="Database" fetchSize="500" maxRows="500">
            <db:dynamic-query><![CDATA[SELECT * from students]]></db:dynamic-query>
        </db:select>

DSL Translation:

.handle((p, h) -> jdbcTemplate.queryForList("SELECT * from students limit 500"))

Additional Information

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