I am trying to create a su for servicemix-bean with following arguments but it
gives an error saying can't get from specified repository. Probably value of
DarchetypeArtifactId is not correct. Please advise.
mvn archetype:create \
-DarchetypeGroupId=org.apache.servicemix.tooling \
-DarchetypeArtifactId=servicemix-bean-service-unit \
-DarchetypeVersion=3.1-incubating \
-DgroupId=com.mycompany \
-DartifactId=my-processor-su \
-DremoteRepositories=http://people.apache.org/repo/m2-incubating-repository
Bruce Snyder <[EMAIL PROTECTED]> wrote: On 7/17/07, kumar k wrote:
> I want to write a class which can receive messages from my jms
> component i.e. messages put on this jms queue should be delivered to my class
> which will do processing for messages. My question is how do I tell
> xbean configuration that which class/method should receive the message for
> processing?Is it decided by service and end point?Has it to be a web
> service?If I want it to be a POJO what I need to specify for service and
> end point? Or something else is needed altogether?
>
> > endpoint="jms"
> targetService="test:MyConsumerService"
> targetEndpoint="myConsumer"
> role="consumer"
> destinationStyle="queue"
> jmsProviderDestinationName="queue/A"
> jndiConnectionFactoryName="ConnectionFactory"
> defaultMep="http://www.w3.org/2004/08/wsdl/in-out"
> defaultOperation="test:Echo" />
The service is the name of this service whereas the targetService
should be the name of the service to which you would like to send the
messages consumed from the queue. If you'd like to write your own POJO
to process the messages, I would suggest looking at using the
servicemix-bean component. This component allows you to use a POJO to
process JBI messages by implementing the MessageExchangeListener
interface.
Bruce
--
perl -e 'print unpack("u30","D0G)[EMAIL PROTECTED]&5R\"F)R=6-E+G-N>61E);'
Apache Geronimo - http://geronimo.apache.org/
Apache ActiveMQ - http://activemq.org/
Apache ServiceMix - http://servicemix.org/
Castor - http://castor.org/
---------------------------------
Sucker-punch spam with award-winning protection.
Try the free Yahoo! Mail Beta.
---------------------------------
Ready for the edge of your seat? Check out tonight's top picks on Yahoo! TV.