Kumar,
If you take a look in the repository (at
http://people.apache.org/repo/m2-incubating-repository/org/apache/servicemix/tooling/servicemix-bean-service-unit/),
you'll notive that this archetype is only available since version
3.1.1-incubating...
Gert
kumar k wrote:
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