You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by Anshuk Chinmoy Pal Chaudhuri <An...@infosys.com> on 2007/08/20 18:44:16 UTC
Custom Binding Component
Hi,
Can you any one let me know of building custom binding components
instead of using the in-built components that is already there in
servicemix.
I would like to know I have to exactly extends which class and override
which methods and if the custom binding component can be deployed as a
xbean or not.
If possible also, can you please share the sample configuration file.
Thanks.
Warm Regards,
Anshuk Pal Chaudhuri
**************** CAUTION - Disclaimer *****************
This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely for the use of the addressee(s). If you are not the intended recipient, please notify the sender by e-mail and delete the original message. Further, you are not to copy, disclose, or distribute this e-mail or its contents to any other person and any such actions are unlawful. This e-mail may contain viruses. Infosys has taken every reasonable precaution to minimize this risk, but is not liable for any damage you may sustain as a result of any virus in this e-mail. You should carry out your own virus checks before opening the e-mail or attachment. Infosys reserves the right to monitor and review the content of all messages sent to or from this e-mail address. Messages sent to or from this e-mail address may be stored on the Infosys e-mail system.
***INFOSYS******** End of Disclaimer ********INFOSYS***
Re: CXF Build Error
Posted by Nodet Guillaume <gn...@gmail.com>.
My mistake. It should be fixed now.
Cheers,
Guillaume Nodet
On Aug 21, 2007, at 4:18 PM, Gordon Dickens wrote:
> Hello,
>
> I am getting a build error today from the latest code from SVN:
>
> [ERROR] BUILD ERROR
> [INFO]
> ----------------------------------------------------------------------
> --
> [INFO] Failed to resolve artifact.
>
> GroupId: org.apache.servicemix
> ArtifactId: servicemix-cxf-se
> Version: 3.2-incubating-SNAPSHOT
>
> Reason: Unable to download the artifact from any repository
>
> Try downloading the file manually from the project website.
>
> Then, install it using the command:
> mvn install:install-file -DgroupId=org.apache.servicemix -
> DartifactId=servicemix-cxf-se \
> -Dversion=3.2-incubating-SNAPSHOT -Dclassifier=installer -
> Dpackaging=zip -Dfile=/path/to/file
> Alternatively, if you host your own repository you can deploy the
> file there: mvn deploy:deploy-file -DgroupId=org.apache.servic
> emix -DartifactId=servicemix-cxf-se \
> -Dversion=3.2-incubating-SNAPSHOT -Dclassifier=installer -
> Dpackaging=zip -Dfile=/path/to/file \
> -Durl=[url] -DrepositoryId=[id]
>
>
> org.apache.servicemix:servicemix-cxf-se:zip:3.2-incubating-SNAPSHOT
>
> from the specified remote repositories:
> central (http://repo1.maven.org/maven2),
> servicemix-m2-repo (http://svn.apache.org/repos/asf/incubator/
> servicemix/m2-repo),
> apache.snapshots (http://svn.apache.org/maven-snapshot-repository),
> codehaus (http://repository.codehaus.org),
> apache-incubating (http://people.apache.org/repo/m2-incubating-
> repository),
> apache-snapshots (http://people.apache.org/repo/m2-snapshot-
> repository)
>
>
>
> Any thoughts?
>
> Thanks,
> Gordon Dickens
Re: CXF Build Error
Posted by Freeman Fang <fr...@iona.com>.
Thanks Guillaume.
Best Regards
Freeman
Guillaume Nodet wrote:
> I thought they were already included in the build and I have added
> them to the distribution some time ago. As this was causing the
> build to break, I have added these two components to the build.
>
> On 8/22/07, Nodet Guillaume <gn...@gmail.com> wrote:
>
>> Btw, what about adding them to the build now ?
>>
>> Cheers,
>> Guillaume Nodet
>>
>> On Aug 22, 2007, at 4:25 AM, Freeman Fang wrote:
>>
>>
>>> Hi Gordon,
>>>
>>> The cxf-bc and cxf-se is in progress now, so these two modules are
>>> not added in serviceengines and bindingcomponents modules list, so
>>> you cann't download org.apache.servicemix:servicemix-cxf-se from
>>> website now.
>>> The work around is go into trunk/deployables/serviceengines/
>>> servicemix-cxf-se and run "mvn install" to build
>>> org.apache.servicemix:servicemix-cxf-se yourself.
>>> Btw, you should be able to download it from website very soon.
>>>
>>> Best Regards
>>> Freeman
>>>
>>> Gordon Dickens wrote:
>>>
>>>> Hello,
>>>>
>>>> I am getting a build error today from the latest code from SVN:
>>>>
>>>> [ERROR] BUILD ERROR
>>>> [INFO]
>>>> ---------------------------------------------------------------------
>>>> ---
>>>> [INFO] Failed to resolve artifact.
>>>>
>>>> GroupId: org.apache.servicemix
>>>> ArtifactId: servicemix-cxf-se
>>>> Version: 3.2-incubating-SNAPSHOT
>>>>
>>>> Reason: Unable to download the artifact from any repository
>>>>
>>>> Try downloading the file manually from the project website.
>>>>
>>>> Then, install it using the command:
>>>> mvn install:install-file -DgroupId=org.apache.servicemix -
>>>> DartifactId=servicemix-cxf-se \
>>>> -Dversion=3.2-incubating-SNAPSHOT -Dclassifier=installer -
>>>> Dpackaging=zip -Dfile=/path/to/file
>>>> Alternatively, if you host your own repository you can deploy the
>>>> file there: mvn deploy:deploy-file -DgroupId=org.apache.servic
>>>> emix -DartifactId=servicemix-cxf-se \
>>>> -Dversion=3.2-incubating-SNAPSHOT -Dclassifier=installer -
>>>> Dpackaging=zip -Dfile=/path/to/file \
>>>> -Durl=[url] -DrepositoryId=[id]
>>>>
>>>>
>>>> org.apache.servicemix:servicemix-cxf-se:zip:3.2-incubating-SNAPSHOT
>>>>
>>>> from the specified remote repositories:
>>>> central (http://repo1.maven.org/maven2),
>>>> servicemix-m2-repo (http://svn.apache.org/repos/asf/incubator/
>>>> servicemix/m2-repo),
>>>> apache.snapshots (http://svn.apache.org/maven-snapshot-repository),
>>>> codehaus (http://repository.codehaus.org),
>>>> apache-incubating (http://people.apache.org/repo/m2-incubating-
>>>> repository),
>>>> apache-snapshots (http://people.apache.org/repo/m2-snapshot-
>>>> repository)
>>>>
>>>>
>>>>
>>>> Any thoughts?
>>>>
>>>> Thanks,
>>>> Gordon Dickens
>>>>
>>>>
>>
>
>
>
Re: CXF Build Error
Posted by Guillaume Nodet <gn...@gmail.com>.
I thought they were already included in the build and I have added
them to the distribution some time ago. As this was causing the
build to break, I have added these two components to the build.
On 8/22/07, Nodet Guillaume <gn...@gmail.com> wrote:
> Btw, what about adding them to the build now ?
>
> Cheers,
> Guillaume Nodet
>
> On Aug 22, 2007, at 4:25 AM, Freeman Fang wrote:
>
> > Hi Gordon,
> >
> > The cxf-bc and cxf-se is in progress now, so these two modules are
> > not added in serviceengines and bindingcomponents modules list, so
> > you cann't download org.apache.servicemix:servicemix-cxf-se from
> > website now.
> > The work around is go into trunk/deployables/serviceengines/
> > servicemix-cxf-se and run "mvn install" to build
> > org.apache.servicemix:servicemix-cxf-se yourself.
> > Btw, you should be able to download it from website very soon.
> >
> > Best Regards
> > Freeman
> >
> > Gordon Dickens wrote:
> >> Hello,
> >>
> >> I am getting a build error today from the latest code from SVN:
> >>
> >> [ERROR] BUILD ERROR
> >> [INFO]
> >> ---------------------------------------------------------------------
> >> ---
> >> [INFO] Failed to resolve artifact.
> >>
> >> GroupId: org.apache.servicemix
> >> ArtifactId: servicemix-cxf-se
> >> Version: 3.2-incubating-SNAPSHOT
> >>
> >> Reason: Unable to download the artifact from any repository
> >>
> >> Try downloading the file manually from the project website.
> >>
> >> Then, install it using the command:
> >> mvn install:install-file -DgroupId=org.apache.servicemix -
> >> DartifactId=servicemix-cxf-se \
> >> -Dversion=3.2-incubating-SNAPSHOT -Dclassifier=installer -
> >> Dpackaging=zip -Dfile=/path/to/file
> >> Alternatively, if you host your own repository you can deploy the
> >> file there: mvn deploy:deploy-file -DgroupId=org.apache.servic
> >> emix -DartifactId=servicemix-cxf-se \
> >> -Dversion=3.2-incubating-SNAPSHOT -Dclassifier=installer -
> >> Dpackaging=zip -Dfile=/path/to/file \
> >> -Durl=[url] -DrepositoryId=[id]
> >>
> >>
> >> org.apache.servicemix:servicemix-cxf-se:zip:3.2-incubating-SNAPSHOT
> >>
> >> from the specified remote repositories:
> >> central (http://repo1.maven.org/maven2),
> >> servicemix-m2-repo (http://svn.apache.org/repos/asf/incubator/
> >> servicemix/m2-repo),
> >> apache.snapshots (http://svn.apache.org/maven-snapshot-repository),
> >> codehaus (http://repository.codehaus.org),
> >> apache-incubating (http://people.apache.org/repo/m2-incubating-
> >> repository),
> >> apache-snapshots (http://people.apache.org/repo/m2-snapshot-
> >> repository)
> >>
> >>
> >>
> >> Any thoughts?
> >>
> >> Thanks,
> >> Gordon Dickens
> >>
>
>
--
Cheers,
Guillaume Nodet
------------------------
Blog: http://gnodet.blogspot.com/
Re: CXF Build Error
Posted by Nodet Guillaume <gn...@gmail.com>.
Btw, what about adding them to the build now ?
Cheers,
Guillaume Nodet
On Aug 22, 2007, at 4:25 AM, Freeman Fang wrote:
> Hi Gordon,
>
> The cxf-bc and cxf-se is in progress now, so these two modules are
> not added in serviceengines and bindingcomponents modules list, so
> you cann't download org.apache.servicemix:servicemix-cxf-se from
> website now.
> The work around is go into trunk/deployables/serviceengines/
> servicemix-cxf-se and run "mvn install" to build
> org.apache.servicemix:servicemix-cxf-se yourself.
> Btw, you should be able to download it from website very soon.
>
> Best Regards
> Freeman
>
> Gordon Dickens wrote:
>> Hello,
>>
>> I am getting a build error today from the latest code from SVN:
>>
>> [ERROR] BUILD ERROR
>> [INFO]
>> ---------------------------------------------------------------------
>> ---
>> [INFO] Failed to resolve artifact.
>>
>> GroupId: org.apache.servicemix
>> ArtifactId: servicemix-cxf-se
>> Version: 3.2-incubating-SNAPSHOT
>>
>> Reason: Unable to download the artifact from any repository
>>
>> Try downloading the file manually from the project website.
>>
>> Then, install it using the command:
>> mvn install:install-file -DgroupId=org.apache.servicemix -
>> DartifactId=servicemix-cxf-se \
>> -Dversion=3.2-incubating-SNAPSHOT -Dclassifier=installer -
>> Dpackaging=zip -Dfile=/path/to/file
>> Alternatively, if you host your own repository you can deploy the
>> file there: mvn deploy:deploy-file -DgroupId=org.apache.servic
>> emix -DartifactId=servicemix-cxf-se \
>> -Dversion=3.2-incubating-SNAPSHOT -Dclassifier=installer -
>> Dpackaging=zip -Dfile=/path/to/file \
>> -Durl=[url] -DrepositoryId=[id]
>>
>>
>> org.apache.servicemix:servicemix-cxf-se:zip:3.2-incubating-SNAPSHOT
>>
>> from the specified remote repositories:
>> central (http://repo1.maven.org/maven2),
>> servicemix-m2-repo (http://svn.apache.org/repos/asf/incubator/
>> servicemix/m2-repo),
>> apache.snapshots (http://svn.apache.org/maven-snapshot-repository),
>> codehaus (http://repository.codehaus.org),
>> apache-incubating (http://people.apache.org/repo/m2-incubating-
>> repository),
>> apache-snapshots (http://people.apache.org/repo/m2-snapshot-
>> repository)
>>
>>
>>
>> Any thoughts?
>>
>> Thanks,
>> Gordon Dickens
>>
Re: CXF Build Error
Posted by Freeman Fang <fr...@iona.com>.
Hi Gordon,
The cxf-bc and cxf-se is in progress now, so these two modules are not
added in serviceengines and bindingcomponents modules list, so you
cann't download org.apache.servicemix:servicemix-cxf-se from website now.
The work around is go into
trunk/deployables/serviceengines/servicemix-cxf-se and run "mvn install"
to build org.apache.servicemix:servicemix-cxf-se yourself.
Btw, you should be able to download it from website very soon.
Best Regards
Freeman
Gordon Dickens wrote:
> Hello,
>
> I am getting a build error today from the latest code from SVN:
>
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Failed to resolve artifact.
>
> GroupId: org.apache.servicemix
> ArtifactId: servicemix-cxf-se
> Version: 3.2-incubating-SNAPSHOT
>
> Reason: Unable to download the artifact from any repository
>
> Try downloading the file manually from the project website.
>
> Then, install it using the command:
> mvn install:install-file -DgroupId=org.apache.servicemix
> -DartifactId=servicemix-cxf-se \
> -Dversion=3.2-incubating-SNAPSHOT -Dclassifier=installer
> -Dpackaging=zip -Dfile=/path/to/file
> Alternatively, if you host your own repository you can deploy the file
> there: mvn deploy:deploy-file -DgroupId=org.apache.servic
> emix -DartifactId=servicemix-cxf-se \
> -Dversion=3.2-incubating-SNAPSHOT -Dclassifier=installer
> -Dpackaging=zip -Dfile=/path/to/file \
> -Durl=[url] -DrepositoryId=[id]
>
>
> org.apache.servicemix:servicemix-cxf-se:zip:3.2-incubating-SNAPSHOT
>
> from the specified remote repositories:
> central (http://repo1.maven.org/maven2),
> servicemix-m2-repo
> (http://svn.apache.org/repos/asf/incubator/servicemix/m2-repo),
> apache.snapshots (http://svn.apache.org/maven-snapshot-repository),
> codehaus (http://repository.codehaus.org),
> apache-incubating
> (http://people.apache.org/repo/m2-incubating-repository),
> apache-snapshots (http://people.apache.org/repo/m2-snapshot-repository)
>
>
>
> Any thoughts?
>
> Thanks,
> Gordon Dickens
>
CXF Build Error
Posted by Gordon Dickens <gd...@anexinet.com>.
Hello,
I am getting a build error today from the latest code from SVN:
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Failed to resolve artifact.
GroupId: org.apache.servicemix
ArtifactId: servicemix-cxf-se
Version: 3.2-incubating-SNAPSHOT
Reason: Unable to download the artifact from any repository
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=org.apache.servicemix
-DartifactId=servicemix-cxf-se \
-Dversion=3.2-incubating-SNAPSHOT -Dclassifier=installer
-Dpackaging=zip -Dfile=/path/to/file
Alternatively, if you host your own repository you can deploy the file
there: mvn deploy:deploy-file -DgroupId=org.apache.servic
emix -DartifactId=servicemix-cxf-se \
-Dversion=3.2-incubating-SNAPSHOT -Dclassifier=installer
-Dpackaging=zip -Dfile=/path/to/file \
-Durl=[url] -DrepositoryId=[id]
org.apache.servicemix:servicemix-cxf-se:zip:3.2-incubating-SNAPSHOT
from the specified remote repositories:
central (http://repo1.maven.org/maven2),
servicemix-m2-repo
(http://svn.apache.org/repos/asf/incubator/servicemix/m2-repo),
apache.snapshots (http://svn.apache.org/maven-snapshot-repository),
codehaus (http://repository.codehaus.org),
apache-incubating
(http://people.apache.org/repo/m2-incubating-repository),
apache-snapshots (http://people.apache.org/repo/m2-snapshot-repository)
Any thoughts?
Thanks,
Gordon Dickens
Re: JMS Endpoint and Normalized Message Attachment
Posted by Nodet Guillaume <gn...@gmail.com>.
You should try using the new <jms:consumer/> endpoint that is part of
3.2.
You will be able to set up a custom marshaler and convert the jms
message
to a normalized message the way you want....
Take a look at http://cwiki.apache.org/SM/servicemix-jms-new-
endpoints.html
for the in progress documentation.
Cheers,
Guillaume Nodet
On Aug 21, 2007, at 8:18 PM, Anshuk Chinmoy Pal Chaudhuri wrote:
>
> Hi,
>
> I have deployed a jms endpoint (using servicemix-jms) which
> receives the
> message from the websphere mqueue. The target service of that
> service is
> different service.
> Now the requirement is that the jms endpoint after receiving the
> message, instead of setting the content of the normalized message with
> the mqueue message would attach the mqueue message to the
> attachment of
> the normalized message. (Since the mqueue message would be a non-xml)
> Is that possible?
>
> Warm Regards,
> Anshuk Pal Chaudhuri
>
> **************** CAUTION - Disclaimer *****************
> This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION
> intended solely for the use of the addressee(s). If you are not the
> intended recipient, please notify the sender by e-mail and delete
> the original message. Further, you are not to copy, disclose, or
> distribute this e-mail or its contents to any other person and any
> such actions are unlawful. This e-mail may contain viruses. Infosys
> has taken every reasonable precaution to minimize this risk, but is
> not liable for any damage you may sustain as a result of any virus
> in this e-mail. You should carry out your own virus checks before
> opening the e-mail or attachment. Infosys reserves the right to
> monitor and review the content of all messages sent to or from this
> e-mail address. Messages sent to or from this e-mail address may be
> stored on the Infosys e-mail system.
> ***INFOSYS******** End of Disclaimer ********INFOSYS***
JMS Endpoint and Normalized Message Attachment
Posted by Anshuk Chinmoy Pal Chaudhuri <An...@infosys.com>.
Hi,
I have deployed a jms endpoint (using servicemix-jms) which receives the
message from the websphere mqueue. The target service of that service is
different service.
Now the requirement is that the jms endpoint after receiving the
message, instead of setting the content of the normalized message with
the mqueue message would attach the mqueue message to the attachment of
the normalized message. (Since the mqueue message would be a non-xml)
Is that possible?
Warm Regards,
Anshuk Pal Chaudhuri
**************** CAUTION - Disclaimer *****************
This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely for the use of the addressee(s). If you are not the intended recipient, please notify the sender by e-mail and delete the original message. Further, you are not to copy, disclose, or distribute this e-mail or its contents to any other person and any such actions are unlawful. This e-mail may contain viruses. Infosys has taken every reasonable precaution to minimize this risk, but is not liable for any damage you may sustain as a result of any virus in this e-mail. You should carry out your own virus checks before opening the e-mail or attachment. Infosys reserves the right to monitor and review the content of all messages sent to or from this e-mail address. Messages sent to or from this e-mail address may be stored on the Infosys e-mail system.
***INFOSYS******** End of Disclaimer ********INFOSYS***
Re: Custom Binding Component
Posted by Bruce Snyder <br...@gmail.com>.
On 8/20/07, Anshuk Chinmoy Pal Chaudhuri
<An...@infosys.com> wrote:
>
> Hi,
>
> Can you any one let me know of building custom binding components
> instead of using the in-built components that is already there in
> servicemix.
> I would like to know I have to exactly extends which class and override
> which methods and if the custom binding component can be deployed as a
> xbean or not.
>
> If possible also, can you please share the sample configuration file.
There is a tutorial on doing this that is mostly complete available here:
http://incubator.apache.org/servicemix/hello-world-bc.html
Bruce
--
perl -e 'print unpack("u30","D0G)U8V4\@4VYY9&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*"
);'
Apache ActiveMQ - http://activemq.org/
Apache ServiceMix - http://servicemix.org/
Apache Geronimo - http://geronimo.apache.org/
Castor - http://castor.org/