[Users] Unable to create connected component Assembly

Dirk petals-components at ebmwebsourcing.com
Wed Mar 16 10:27:17 CET 2011


> It's like the attachments aren't send to the mailing list.
> Here are the jbi.xml's in our test-case
> 
> 
> <?xml version="1.0" encoding="UTF-8"?>
> <jbi:jbi xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> 	xmlns:jbi="http://java.sun.com/xml/ns/jbi" version="1.0">
> <jbi:service-assembly>
> <jbi:identification>
> <jbi:name>sa-filetransferproject</jbi:name>
> <jbi:description>sa-filetransferproject description</jbi:description>
> </jbi:identification>
> <jbi:service-unit>
> <jbi:identification>
> <jbi:name>su-filetransferproject-provide</jbi:name>
> <jbi:description>su-filetransferproject-provide description</jbi:description>
> </jbi:identification>
> <jbi:target>
> <jbi:artifacts-zip>su-filetransferproject-provide-SNAPSHOT.zip</jbi:artifacts-zip>
> <jbi:component-name>petals-bc-filetransfer</jbi:component-name>
> </jbi:target>
> </jbi:service-unit>
> <jbi:service-unit>
> <jbi:identification>
> <jbi:name>su-filetransferproject-consume</jbi:name>
> <jbi:description>su-filetransferproject-consume description</jbi:description>
> </jbi:identification>
> <jbi:target>
> <jbi:artifacts-zip>su-filetransferproject-consume-SNAPSHOT.zip</jbi:artifacts-zip>
> <jbi:component-name>petals-bc-filetransfer</jbi:component-name>
> </jbi:target>
> </jbi:service-unit>
> <connections xmlns:generatedNs="http://petals.ow2.org/filetransfer">
> <connection>
> <consumer endpoint-name="getServiceEndpoint" service-name="generatedNs:getService"/>
> <provider endpoint-name="putServiceEndpoint" service-name="generatedNs:putService"/>
> </connection>
> </connections>
> </jbi:service-assembly>
> </jbi:jbi>
> 
  
> 
> 
> <?xml version="1.0" encoding="UTF-8"?>
> <jbi:jbi version="1.0" 
> 	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> 	xmlns:jbi="http://java.sun.com/xml/ns/jbi"
> 	xmlns:petalsCDK="http://petals.ow2.org/components/extensions/version-4.0"
> 	xmlns:filetransfer="http://petals.ow2.org/components/filetransfer/version-2.2"
> 	xmlns:generatedNs="http://petals.ow2.org/filetransfer">
> 	
> 	<jbi:services binding-component="false">
> 		
> 		<jbi:consumes
> 			interface-name="generatedNs:get"
> 			service-name="generatedNs:getService"
> 			endpoint-name="getServiceEndpoint">
> 
> 			<petalsCDK:mep>InOnly</petalsCDK:mep>
> 
> 			<filetransfer:read-directory>c:/projects/petals/filetransferproject/in</filetransfer:read-directory>
> <filetransfer:transfer-mode>content</filetransfer:transfer-mode>
> <filetransfer:polling-period>5000</filetransfer:polling-period>
> 
> 		</jbi:consumes>
> 
> 	</jbi:services>
> </jbi:jbi>
> 
 

> 
> 
> <?xml version="1.0" encoding="UTF-8"?>
> <jbi:jbi version="1.0" 
> 	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> 	xmlns:jbi="http://java.sun.com/xml/ns/jbi"
> 	xmlns:petalsCDK="http://petals.ow2.org/components/extensions/version-4.0"
> 	xmlns:filetransfer="http://petals.ow2.org/components/filetransfer/version-2.2"
> 	xmlns:generatedNs="http://petals.ow2.org/filetransfer">
> <jbi:services binding-component="true">
> <jbi:provides 		
> 			interface-name="generatedNs:put"
> 			service-name="generatedNs:putService"
> 			endpoint-name="putServiceEndpoint">
> <petalsCDK:wsdl xsi:nil="true" />
> <filetransfer:write-directory>c:/projects/petals/filetransferproject/out</filetransfer:write-directory>
> <filetransfer:copy-mode>content-only</filetransfer:copy-mode>
> <filetransfer:file-pattern>content.xml</filetransfer:file-pattern>
> </jbi:provides>
> 
> </jbi:services>
> </jbi:jbi>
> 
 


rnaudin wrote: 
>     Hello Dirk,
> The connection must work, but we have not test it since some times.
> BUT, i assume (as there is no attachment possible on this forum, and you mention mysterious attached files [Image: http://petals.ebmwebsourcing.com/forum/images/smiles/icon_rolleyes.gif ]) that you have create a unique SA with 2 SUs defined in its jbi.xml and a connection.
> I think we have never test that possibility, the tests done on connection was with SAs that define only a connection.
> 
> The interest (for me) in connection is to 'proxify' an endpoint or an interface in the bus. You can change the service implementation by undeploying/redeploying the SA containing the connection, without forgetting to change the service 'connected'; the consumer of the service has not changed its configuration and invoke the new 'connected' service. [Image: http://petals.ebmwebsourcing.com/forum/images/smiles/icon_cool.gif ] 
> 
> I can be a bug, in this case you can open a bug on the PEtALS forge, please provide the information and resources to be able to reproduce it.
> 
> /Roland
> 
> 
> 
> 
> 





-------------------- m2f --------------------

Read this forum topic online here:
http://petals.ebmwebsourcing.com/forum/viewtopic.php?p=461#461

-------------------- m2f --------------------


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://forum-list.petalslink.org/pipermail/users/attachments/20110316/b04b794a/attachment.htm>


More information about the Users mailing list