Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Eclipse Process Manager (Stardust) » Eclipse modeler, configuration variable escaping char remains(Issue regarding the use of simple variables in Camel application )
Eclipse modeler, configuration variable escaping char remains [message #1757904] Tue, 21 March 2017 15:23
Benjamin Legendre is currently offline Benjamin LegendreFriend
Messages: 1
Registered: March 2017
Junior Member
Hi,

I'm using the Eclipse modeler to model a process.

I use a Camel send/receive application attached to an activity to make an HTTP Rest get request.

Here is an extract of my camel route:

<setHeader headerName="Exchange.HTTP_PATH">
	<simple>/vinyls/${body[reference]}</simple>
</setHeader>
<to uri="http://localhost:8001" />


The camel simple variable "${body[reference]}" clashes with Stardust configuration variables. As explained on the documentation, this can be solved by escaping using the char "\" :

<setHeader headerName="Exchange.HTTP_PATH">
	<simple>/vinyls/\${body[reference]}</simple>
</setHeader>
<to uri="http://localhost:8001" />


My issue is the escaping char remains, producing a wrong URI:
http://localhost:8001:/vinyls/%5Csomething

%5C is the HTML encoded version of "\" char.

The only solution i found is editing the XPDL model using a text editor to remove the char before deploying the process. This is really annoying because it breaks the eclipse modeler validation when reload the file.

I'm pretty beginner to stardust so maybe i miss something.


Previous Topic:Documentation: multilingual/tanslations available?
Next Topic:Stardust - Weblogic and licenses
Goto Forum:
  


Current Time: Fri Nov 16 12:28:51 GMT 2018

Powered by FUDForum. Page generated in 0.05853 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top