Skip to content

Setting metadatakey on FeedEntryMessageSource using URL object is appending url to metadatakey but when Resource object is used, only metadatakey is set #3735

@pinkeshsagar-harptec

Description

@pinkeshsagar-harptec

Using spring integration core 5.5.7 and spring integration feed 5.5.7

Expected Behavior

If user is already passing metadatakey then he is already aware about metadatakey, so both constructors of FeedEntryMessageSource should only set metdatakey, not modify it.

Current Behavior

Currently, if object of FeedEntryMessageSource created with URL, then url is appended with metadatakey and if created with second constructor which takes Resource then it is only setting metadatakey.

How has this issue affected you?
I am creating instance of FeedEntryMessageSource with both constructors. so if instance with URL failed then Resource one can be used but i am getting different metadatakey in both cases.

What other alternatives have you considered? None

Are you aware of any workarounds? No

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions