should i develop a bc or a se?

2007-10-10 Thread cui.hailin

for example,i have a demand:send a request to HTTP BC,HTTP BC receive a
request,then send a quary command to JDBC component;JDBC get the data of
database,but return to HTTP BC,the data need send to third system and deal
with the data. i should develop these component?

one word,these have three extranal system,data must flow in these system.if
use servicemix implement the demand,i should develop these component.

thanks
-- 
View this message in context: 
http://www.nabble.com/should--i-develop-a-bc-or-a-se--tf4598864s12049.html#a13130243
Sent from the ServiceMix - Dev mailing list archive at Nabble.com.



Re: should i develop a bc or a se?

2007-10-10 Thread Guillaume Nodet
The difference between SE and BC is purely a logical difference.  It's
just a flag to set, so there's no real difference between writing a SE
and writing a BC.  Note that you may want to use servicemix-bean
instead of writing a component.

On 10/10/07, cui.hailin [EMAIL PROTECTED] wrote:

 in spec of jbi 1.0,SES are the business logic dreivers of the jbi system.BCS
 are used to send and receive message via particular protocolsand transports.

 i understand that BC used to connect to extranal system,SE can orchestrate
 BCS.


 HTTP BC-JDBC-RMI

 JDBC connect to a extranal database,RMI connect to a extranal system;but
 JDBC connect HTTP BC and RMI.the JDBC should be BC or SE?

 --
 View this message in context: 
 http://www.nabble.com/should--i-develop-a-bc-or-a-se--tf4598864s12049.html#a13130430
 Sent from the ServiceMix - Dev mailing list archive at Nabble.com.




-- 
Cheers,
Guillaume Nodet

Blog: http://gnodet.blogspot.com/


[jira] Created: (SM-1099) EPI Content Enricher may not work if input content is a stream

2007-10-10 Thread Martin Landua (JIRA)
EPI Content Enricher may not work if input content is a stream
--

 Key: SM-1099
 URL: https://issues.apache.org/activemq/browse/SM-1099
 Project: ServiceMix
  Issue Type: Bug
  Components: servicemix-eip
Affects Versions: 3.1
 Environment: Everywhere
Reporter: Martin Landua
 Attachments: servicemix-eip-patch-20071010.txt

If a normalized message that carries a stream is being sent to a content 
enricher endpoint the stream may no longer be readable for combining after 
calling the target, if the target has read the stream. Obviously, a stream 
cannot be read more than once.

Since the content enricher relies on the fact that the input content is an XML 
document, we find it appropriate to turn any source input into a dom first 
before sending the message to the target.

Would you please kindly consider the patch that we have attached.

Best Regards

Martin Landua

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Resolved: (SM-624) Failed unit test (servicemix-core) : org.apache.servicemix.jbi.nmr.flow.jms.MultipleJMSFlowTest

2007-10-10 Thread Oleg Zhurakousky (JIRA)

 [ 
https://issues.apache.org/activemq/browse/SM-624?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Oleg Zhurakousky resolved SM-624.
-

Resolution: Cannot Reproduce

I have ran 3.2-SNAPSHOT version of this test outside of Maven as well as with 
Maven and see no issues:

---
 T E S T S
---
Running org.apache.servicemix.jbi.nmr.flow.jms.JMSFlowTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 31.812 sec

Results :

Tests run: 2, Failures: 0, Errors: 0, Skipped: 0

I see this is a rather old task, but . .  I got to start somewhere.

 Failed unit test (servicemix-core) : 
 org.apache.servicemix.jbi.nmr.flow.jms.MultipleJMSFlowTest
 ---

 Key: SM-624
 URL: https://issues.apache.org/activemq/browse/SM-624
 Project: ServiceMix
  Issue Type: Sub-task
  Components: servicemix-core
Affects Versions: 3.0
 Environment: Windows and linux
Reporter: Fritz Oconer
 Fix For: 3.2




-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.