[jira] Created: (SM-969) JBIMarshaler doesn't copy Subject from NormalizedMessage to SoapMessage
JBIMarshaler doesn't copy Subject from NormalizedMessage to SoapMessage --- Key: SM-969 URL: https://issues.apache.org/activemq/browse/SM-969 Project: ServiceMix Issue Type: Bug Components: servicemix-soap Reporter: Piotr Bzdyl Attachments: JBIMarshaler.java.diff JBIMarshaler doesn't copy Subject from NormalizedMessage to SoapMessage so the information about the subject is lost. It does so in opposite way (from SoapMessage to NormalizedMessage). -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Created: (SM-970) Add support for wildcards in the classpathlocation element in servicemix.xml
Add support for wildcards in the classpathlocation element in servicemix.xml Key: SM-970 URL: https://issues.apache.org/activemq/browse/SM-970 Project: ServiceMix Issue Type: Improvement Components: servicemix-lwcontainer Affects Versions: 3.1 Reporter: Michal Palicka Hello, we are using service units based on servicemix-lwcontainer. In many cases the service units depend on many dependencies (direct or transitive), that also change during the development. It would be very helpful, if we could specify the classpath using a wildcard instead of a list of individual dependencies. Current status: classpath location./location location./lib/lib1.jar/location location./lib/lib2.jar/location ... location./lib/libn.jar/location /classpath Desired status: classpath location./location location./lib/*.jar/location /classpath Thank you. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Commented: (SM-970) Add support for wildcards in the classpathlocation element in servicemix.xml
[ https://issues.apache.org/activemq/browse/SM-970?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_39454 ] Gert Vanthienen commented on SM-970: Isn't this already covered in ServiceMix 3.1 (cfr. New in ServiceMix 3.1 on http://incubator.apache.org/servicemix/classloaders.html) or am I misunderstanding your question? Add support for wildcards in the classpathlocation element in servicemix.xml Key: SM-970 URL: https://issues.apache.org/activemq/browse/SM-970 Project: ServiceMix Issue Type: Improvement Components: servicemix-lwcontainer Affects Versions: 3.1 Reporter: Michal Palicka Hello, we are using service units based on servicemix-lwcontainer. In many cases the service units depend on many dependencies (direct or transitive), that also change during the development. It would be very helpful, if we could specify the classpath using a wildcard instead of a list of individual dependencies. Current status: classpath location./location location./lib/lib1.jar/location location./lib/lib2.jar/location ... location./lib/libn.jar/location /classpath Desired status: classpath location./location location./lib/*.jar/location /classpath Thank you. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Commented: (SM-970) Add support for wildcards in the classpathlocation element in servicemix.xml
[ https://issues.apache.org/activemq/browse/SM-970?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_39455 ] Michal Palicka commented on SM-970: --- Thank you, I didn't notice that. It solves my problem. Add support for wildcards in the classpathlocation element in servicemix.xml Key: SM-970 URL: https://issues.apache.org/activemq/browse/SM-970 Project: ServiceMix Issue Type: Improvement Components: servicemix-lwcontainer Affects Versions: 3.1 Reporter: Michal Palicka Hello, we are using service units based on servicemix-lwcontainer. In many cases the service units depend on many dependencies (direct or transitive), that also change during the development. It would be very helpful, if we could specify the classpath using a wildcard instead of a list of individual dependencies. Current status: classpath location./location location./lib/lib1.jar/location location./lib/lib2.jar/location ... location./lib/libn.jar/location /classpath Desired status: classpath location./location location./lib/*.jar/location /classpath Thank you. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
connect to apache derby DB from servicemix by invoking a jms client
Hi, I am a new bee to servicemix,and In the process of evaluating servicemix. Here is my task, I am trying to execute a simple query to apache derby database, from servicemix by invoking a jms client. I serached this forumn and could not figure out how this is beeing done.I am abl to run the loanbroker example. so i am using the same example for my task. here is the step i followed : 1. configured the apache-derby db. and when i start the servicemix it recoganizes the apache derby driver. INFO - JBIContainer - ServiceMix JBI Container (ServiceMix) started INFO - JDBCAdapterFactory - Database driver recognized: [apache_derby_embedded_jdbc_driver] 2. modified the servicemix.xml under C:\servicemix\apache-servicemix-3.2-incubating-SNAPSHOT\conf folder audit:jdbcAuditor container=#jbi autoStart=true audit:dataSource bean class=org.apache.derby.jdbc.EmbeddedDataSource property name=databaseName value=servicemixDB/ property name=createDatabase value=create/ /bean /audit:dataSource /audit:jdbcAuditor since i am using apache-derby what code snippet need to add in the jndi.xml file in the same folder? 1. created loan-broker-lw-su added the jdbc component. I am using the default jdbcComponent.java file 2. created loan-broker-jms-su added the binding component . Here is the code for xbean.xml jms:endpoint service=countryname:JdbcToResponseService endpoint=broker targetService=countryname:JdbcToResponseService defaultOperation=sns:Hello role=consumer soap=true connectionFactory=#jmsFactory destinationStyle=queue jmsProviderDestinationName=demo.org.servicemix.source defaultMep=http://www.w3.org/2004/08/wsdl/in-out; / 3. created loan-broker-sa 4. src filder which contains the jms client. jms client sents a request (example: countrycode = AR) as parameter to execute the query SELECT COUNTRY_NAME FROM COUNTRY_CODES WHERE COUNTRY_CODE='AR'; I am not sure how we can call the jms clent to invoke the jdbc component and execute the query?. I appreciate if anyone here to guide me (with examples ) how to accomplish the above task in servicemix. thanks joel -- View this message in context: http://www.nabble.com/connect-to-apache-derby-DB-from-servicemix-by-invoking-a-jms-client-tf3954323s12049.html#a11219546 Sent from the ServiceMix - Dev mailing list archive at Nabble.com.
Re: servicemix Drool engine Issue
Hi Gert, I got fix the issue with Drools. My next goal s to test the rule part? How can I test my rule?mean any example available with you. Thanks, Prasanta pksahoo wrote: Hi Gert, I have both xbean.xml for JMS and Drool components. Please take a look at the attachement herewith. Please advice. Regards, Prasanta pksahoo wrote: Hi Gert, Thank you for reply. I am getting same error that The Service Name specified for routing, but can't find it registered. Please see below error details: 14:01:08,880 | WARN | pool-component.servicemix-jms-thread-6 | DefaultBroker| rvicemix.jbi.nmr.DefaultBroker 341 | ServiceName ({urn:logicblaze:soa:loanbroker}myDroolsService) specified for routing, but can't find it registered 14:01:08,880 | WARN | pool-component.servicemix-jms-thread-6 | DefaultBroker| rvicemix.jbi.nmr.DefaultBroker 341 | ServiceName ({urn:logicblaze:soa:loanbroker}myDroolsService) specified for routing, but can't find it registered 14:01:08,880 | ERROR | pool-component.servicemix-jms-thread-6 | plexingConsumerProcessor | ultiplexingConsumerProcessor$1 100 | Error while handling jms message javax.jbi.messaging.MessagingException: Could not find route for exchange: InOut[ id: ID:10.16.106.91-1134524da8a-5:4 status: Active role: provider service: {urn:logicblaze:soa:loanbroker}myDroolsService operation: {urn:/HelloWorld2.wsdl}Hello in: ?xml version=1.0 encoding=UTF-8?HelloRequest xmlns=urn:/HelloWorld2.wsdl xmlns:soap=http://www.w3.org/2003/05/soap-envelope; Pleas advise. Regards, Prasanta Gert Vanthienen wrote: Prasanta, At this moment, there is no servicemix-drools SU archetype. Please file a JIRA to have it created... For now, you can just use the plain SU archetype and go from there. Have a look at http://incubator.apache.org/servicemix/what-is-a-jbi-su-and-how-do-i-create-one.html, but use -DarchetypeArtifactId=servicemix-service-unit instead. After that is done, you add a dependency to servicemix-drools to the pom.xml that has been generated: dependency groupIdorg.apache.servicemix/groupId artifactIdservicemix-http/artifactId version${servicemix-version}/version /dependency Now all you have to do is modify your xbean.xml to configure the Drools service endpoints. Maven will take care of packaging it a SU targeted at servicemix-drools. Gert pksahoo wrote: How can I create a service unit to use the drools rules engine? Please share the maven archetype and, if possible, an example My JMS client is cnfigured with servicemix drool SU. I am getting following error. Please advise. Here is the details of error: 10:13:49,928 | WARN | pool-component.servicemix-jms-thread-2 | DefaultBroker | rvicemix.jbi.nmr.DefaultBroker 341 | ServiceName ({urn:logicblaze:soa:loanbroker}myDroolsService) specified for routing, but can't find it registered 10:13:49,928 | WARN | pool-component.servicemix-jms-thread-2 | DefaultBroker | rvicemix.jbi.nmr.DefaultBroker 341 | ServiceName ({urn:logicblaze:soa:loanbroker}myDroolsService) specified for routing, but can't find it registered 10:13:49,928 | ERROR | pool-component.servicemix-jms-thread-2 | plexingConsumerProcessor | ultiplexingConsumerProcessor$1 100 | Error while handling jms message javax.jbi.messaging.MessagingException: Could not find route for exchange: InOut[ id: ID:169.254.185.179-1133f6208c3-5:0 status: Active role: provider service: {urn:logicblaze:soa:loanbroker}myDroolsService operation: Hello in: ?xml version=1.0 encoding=UTF-8?HelloRequest xmlns=urn:/HelloWorld2.wsdl xmlns:soap=http://www.w3.org/2003/05/soap-envelope; helloHello from Vishal - /hello /HelloRequest ] for service: {urn:logicblaze:soa:loanbroker}myDroolsService and interface: null at org.apache.servicemix.jbi.nmr.DefaultBroker.sendExchangePacket(DefaultBroker.java:295) at org.apache.servicemix.jbi.security.SecuredBroker.sendExchangePacket(SecuredBroker.java:81) at org.apache.servicemix.jbi.container.JBIContainer.sendExchange(JBIContainer.java:793) at org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.doSend(DeliveryChannelImpl.java:381) at org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.send(DeliveryChannelImpl.java:417) at org.apache.servicemix.common.AsyncBaseLifeCycle.sendConsumerExchange(AsyncBaseLifeCycle.java:572) at org.apache.servicemix.jms.multiplexing.MultiplexingConsumerProcessor$1.run(MultiplexingConsumerProcessor.java:98) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907) at java.lang.Thread.run(Thread.java:619) [ Show ยป ] Jawed Khan [18/Jun/07 08:27 AM] Here is the details of error: 10:13:49,928 | WARN | pool-component.servicemix-jms-thread-2 | DefaultBroker | rvicemix.jbi.nmr.DefaultBroker 341 | ServiceName