Skip to content

[Replace]Replace with header variable which contains a dollar sign fails #333

@Hooghof

Description

@Hooghof

Test case
Instance: development
Tenant: Regression tests
Flow: testReplace_2
FlowId: 6762efb4248d070007000756

Same test case on acceptance: 67630030c55b33002f000002

Error
Failed delivery for (MessageId: 11ED7B56B90BC5D-00000000000036AC on ExchangeId: 11ED7B56B90BC5D-00000000000036AC). Exhausted after delivery attempt: 1 caught: java.lang.IllegalArgumentException: Illegal group reference. Processed by failure processor: FatalFallbackErrorHandler[Channel[setExchangePattern439]] Message History --------------------------------------------------------------------------------------------------------------------------------------- Source ID Processor Elapsed (ms) route_06fc1b41-b452-47ef-bea4-49405366de 6762efb4248d070007000756-b83df from[jetty:https://0.0.0.0:9001/regressiontests/te 4 route_06fc1b41-b452-47ef-bea4-49405366de 6762efb4248d070007000756-b83df step 0 route_06fc1b41-b452-47ef-bea4-49405366de 6762efb4248d070007000756-b83df removeHeaders[CamelHttp*] 0 route_06fc1b41-b452-47ef-bea4-49405366de 6762efb4248d070007000756-b83df direct:6762efb4248d070007000756_test_b83dffe0-3050 0 route_4c7a7b78-0aa1-43d2-94bc-1091ad6682 6762efb4248d070007000756-46081 step 0 route_4c7a7b78-0aa1-43d2-94bc-1091ad6682 6762efb4248d070007000756-46081 removeHeaders[*] 0 route_4c7a7b78-0aa1-43d2-94bc-1091ad6682 6762efb4248d070007000756-46081 direct:6762efb4248d070007000756_test_4608104c-5b41 0 route_b16dffec-a21f-4497-9a44-496f4940bf 6762efb4248d070007000756-7beb0 step 0 route_b16dffec-a21f-4497-9a44-496f4940bf 6762efb4248d070007000756-7beb0 setBody[simple{<documents> <eriktest>testing123< 0 route_b16dffec-a21f-4497-9a44-496f4940bf 6762efb4248d070007000756-7beb0 direct:6762efb4248d070007000756_test_7beb00cc-661f 0 route_1bfd573a-ed4c-446b-9301-441f214245 6762efb4248d070007000756-a6c90 step 0 route_1bfd573a-ed4c-446b-9301-441f214245 6762efb4248d070007000756-a6c90 setHeader[documentInputXML] 0 route_1bfd573a-ed4c-446b-9301-441f214245 6762efb4248d070007000756-a6c90 direct:6762efb4248d070007000756_test_a6c90005-e928 0 route_97b135f6-91f9-4d72-be1d-9af37a5665 6762efb4248d070007000756-38492 step 0 route_97b135f6-91f9-4d72-be1d-9af37a5665 6762efb4248d070007000756-38492 replace://?regex=RAW(PFwvZG9jdW1lbnRzPg==)&replace 0 route_a160b7c3-bcad-4360-b697-29b9303d8d onException714/setExchangePatt setExchangePattern[InOnly] 0 Exchange --------------------------------------------------------------------------------------------------------------------------------------- Exchange[ Id 11ED7B56B90BC5D-00000000000036AC Headers {breadcrumbId=11ED7B56B90BC5D-00000000000036AC, CamelRedelivered=false, CamelRedeliveryCounter=0, ComponentInitTime=1734537817128, documentInputXML=<ErikTestComment>$-character</ErikTestComment>, DOVETAIL_FlowId=6762efb4248d070007000756, DOVETAIL_FlowVersion=7} BodyType String Body <documents> <eriktest>testing123</eriktest></documents> ]

https://dovetailworld.atlassian.net/jira/servicedesk/projects/DOV/queues/custom/1/DOV-2193

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions