camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen" ...@silverbullet.dk>
Subject RE: InOnly to InOut with JBI
Date Tue, 16 Sep 2008 08:49:05 GMT
Hi

Actually Gert was so kind that he documented it.

You can see the possible values:
http://activemq.apache.org/camel/jbi.html



Med venlig hilsen
 
Claus Ibsen
......................................
Silverbullet
Skovsgårdsvænget 21
8362 Hørning
Tlf. +45 2962 7576
Web: www.silverbullet.dk

-----Original Message-----
From: raulvk.soa [mailto:raulvk.soa@gmail.com] 
Sent: 16. september 2008 10:43
To: camel-user@activemq.apache.org
Subject: Re: InOnly to InOut with JBI


Since this is not documented anywhere, can you please tell us what other
values the mep parameter accepts? Thank you.



Gert Vanthienen wrote:
> 
> L.S.,
> 
> You can specify the mep by appending it as a parameter the uri in this 
> format ?mep=in-out.
> In your case, this becomes 
> ...to("jbi:service:http://www.company.org/Transform1?mep=in-out");
> 
> Regards,
> 
> Gert
> 
>> Hi,
>>
>> I am using Camel inside ServiceMix and I am getting an InOnly exchange on
>> my
>> route.
>>
>> However, I am trying to use a pipeline thereafter, to send the request to
>> several endpoints (validators, transformers, etc.), but I am getting an
>> error from the JBI Saxon Service Engine telling me that it does not
>> support
>> the InOnly Exchange Pattern, which is only logical.
>>
>> I am shocked as I would have thought that the Pipeline DSL construct in
>> Camel would send InOut exchanges all along except for the last endpoint
>> (which would be an InOnly)... 
>>
>> What is going on? How do I set the Exchange Pattern to InOut when
>> invoking a
>> JBI Service???
>>
>> My code is as follows:
>>
>> from("jbi:service:http://www.company.org/ReceiveRequest")
>>            	.to("seda:processRequest");
>>         	
>>         from("seda:processRequest")
>>         	.pipeline("direct:transform1",
>>         			  "direct:validate",
>>         			  "direct:transform2",        			  
>>                                  
>> "log:logging.category?level=INFO?showAll=true");
>>
>>         from("direct:transform1")
>>         	.to("jbi:service:http://www.company.org/Transform1");
>>
>>         from("direct:validate")
>>         	.to("validator:file:///d:/xxx/yyy.xsd");
>>
>>         from("direct:transform2")
>>         	.to("jbi:service:http://www.company.org/Transform2");
>>
>>
>> The error is being thrown when invoking
>> "jbi:service:http://www.company.org/Transform1". How do I tell Camel to
>> send
>> out the Exchange as an InOut exchange?
>>
>> Can someone please help?
>>
>> Thanks.
>>   
> 
> 
> 
> -----
> ---
> Gert Vanthienen
> http://www.anova.be
> 

-- 
View this message in context: http://www.nabble.com/InOnly-to-InOut-with-JBI-tp19498019s22882p19507707.html
Sent from the Camel - Users mailing list archive at Nabble.com.


Mime
View raw message