Effective October 27, 2012, online and email support for FuseSource products will move to Red Hat support channels. For more information, please see the JIRA Migration to Red Hat FAQ.
As of October 27th, please open all new issues in the Red Hat Customer Portal .
Issue Details (XML | Word | Printable)

Key: ESB-1180
Type: Task Task
Status: Resolved Resolved
Resolution: Resolved at Apache
Priority: Minor Minor
Assignee: Gert Vanthienen
Reporter: Claus Ibsen
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
FUSE ESB

MEP parameter gets appended to service/endpoint name

Created: 14/Apr/10 04:14 AM   Updated: 14/Jun/10 06:36 PM
Component/s: servicemix-camel
Affects Version/s: 4.2.0-fuse-01-00
Fix Version/s: 3.3.1.25-fuse, 3.4.0.6-fuse, 4.2.0-fuse-02-00

External Issue URL: https://issues.apache.org/activemq/browse/SMXCOMP-737


 Description  « Hide
This issue on the FUSE forum puzzles me.

Why does the end user have to set mep=in-out as option to be able to have the JBI webservice return a reply?
http://fusesource.com/forums/message.jspa?messageID=6333#6333

Gert V. maybe you can shed some light on this?



 All   Comments   Change History      Sort Order: Ascending order - Click to sort in descending order
Gert Vanthienen added a comment - 20/Apr/10 09:47 AM
The issue described in the forum is a user error, as already explained in the post by dkruitbosch:
If you create a route that says from("jbi:endpoint://").wireTap(...), you have exposed another endpoint in the ESB. The MessageExchange will now go to the new endpoint (so you have the wiretap), but it will never reach the original endpoint.

In order to do this, you have to do
from("jbi:enpoint://<the new endpoint name>").wireTap(...).to("jbi:endpoint://<the original endpoint name>")

This will make the new endpoint exposed by the camel route forward exchanges to the original endpoint the user wants to target.

There was another issue lurking in here though: the mep parameter, when used on a consumer endpoint, gets appended to the endpoint name. I have fixed that in https://issues.apache.org/activemq/browse/SMXCOMP-737 so the parameter gets ignored for a consumer endpoint.


Gert Vanthienen added a comment - 20/Apr/10 10:10 AM
Merged into FUSE branches in
  • rev. 13752 for the 3.3.1 branch
  • rev. 13750 for the components trunk
  • rev. 13807 for the components 2009.01.x branch