Skip to content

Instantly share code, notes, and snippets.

View splatch's full-sized avatar

Łukasz Dywicki splatch

View GitHub Profile
2012-02-06 11:48:40,429 | DEBUG | qtp1889578923-33 - /cns/osgi/framework | org.ops4j.pax.wicket.service | org.apache.wicket.page.PageAccessSynchronizer 211 | 'qtp1889578923-33 - /cns/osgi/framework' released lock to page with id '4'
2012-02-06 11:48:40,429 | DEBUG | qtp1889578923-33 - /cns/osgi/framework | org.ops4j.pax.wicket.service | org.apache.wicket.page.PageAccessSynchronizer 219 | 'qtp1889578923-33 - /cns/osgi/framework' notifying blocked threads
2012-02-06 11:48:45,061 | INFO | FelixDispatchQueue | org.ops4j.pax.wicket.service | org.ops4j.pax.wicket.internal.PageMounterTracker 97 | Unmounted /osgi/framework with org.apache.karaf.webconsole.osgi.framework.internal.FrameworkPage
2012-02-06 11:48:45,066 | INFO | FelixDispatchQueue | org.ops4j.pax.wicket.service | org.ops4j.pax.wicket.internal.PageMounterTracker 97 | Unmounted /osgi/framework with org.apache.karaf.webconsole.osgi.framework.internal.FrameworkPage
2012-02-06 11:48:45,071 | INFO | FelixDispatchQueue | org.ops4j.pax.wicket.service | or
package org.code_house.webconsole.activemq
import org.apache.wicket.markup.html.panel.Panel
import org.apache.activemq.broker.jmx.BrokerViewMBean
import org.apache.wicket.model.IModel
class LimitsPanel(id : String, model : IModel[BrokerViewMBean]) extends Panel[BrokerViewMBean](id, model) {
BrokerViewMBean mbean = model.getObject();
org.apache.camel.ExpectedBodyTypeException: Could not extract IN message body as type: interface javax.xml.transform.Source body is: StringSource[<?xml version="1.0" encoding="UTF-8"?>
<blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0">
<camelContext id="xslt" xmlns="http://camel.apache.org/schema/blueprint">
<route id="xslt-test">
<from uri="timer:test?period=1000" />
<to uri="xslt:file://wrapper.xslt" />
<to uri="log:test?showAll=true" />
</route>
</camelContext>
19:53:47,263 TRACE [com.arjuna.ats.arjuna] Loading class com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionManagerImple
19:53:47,293 TRACE [com.arjuna.ats.arjuna] Loading class com.arjuna.ats.internal.jta.transaction.arjunacore.UserTransactionImple
19:53:47,294 TRACE [com.arjuna.ats.arjuna] Loading class com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionSynchronizationRegistryImple
19:53:47,297 TRACE [com.arjuna.ats.arjuna] Loading class com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionManagerImple
19:53:48,115 INFO [org.jboss.weld.Version] WELD-000900 1.1.5 (AS71)
19:53:48,776 INFO [org.apache.camel.impl.converter.AnnotationTypeConverterLoader] Found 3 packages with 15 @Converter classes to load
19:53:48,802 INFO [org.apache.camel.impl.converter.DefaultTypeConverter] Loaded 170 core type converters (total 170 type converters)
19:53:48,809 INFO [org.apache.camel.impl.converter.AnnotationTypeConverterLoader] Loaded 3 @Converter classes
19:53:48,915 INFO [org.apache.cam
java.lang.RuntimeException: Model [org.switchyard.config.model.switchyard.v1.V1SwitchYardModel] is invalid: cvc-datatype-valid.1.2.1: 'org.switchyard.component.bean.deploy.CDIBeanServiceDescriptorTest$X' is not a valid value for 'NCName'.
at org.switchyard.config.model.Validation.assertValid(Validation.java:78)
at org.switchyard.config.model.BaseModel.assertModelValid(BaseModel.java:179)
at org.switchyard.test.SwitchYardTestKit.createSwitchYardModel(SwitchYardTestKit.java:745)
at org.switchyard.test.SwitchYardTestKit.<init>(SwitchYardTestKit.java:142)
at org.switchyard.test.SwitchYardRunner.createTest(SwitchYardRunner.java:55)
at org.junit.runners.BlockJUnit4ClassRunner$1.runReflectiveCall(BlockJUnit4ClassRunner.java:236)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
at org.junit.runners.BlockJUnit4ClassRunner.methodBlock(BlockJUnit4ClassRunner.java:233)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68)
/**
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
/**
* Very simple life cycle adapter to call start/stop camel services.
*/
public class CdiLifecycleAdapter {
@Inject
private Instance<Service> services;
void startUp(@Observes AfterDeploymentValidation abd) throws Exception {
for (Service reference : services) {
/**
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
<transforms>
<transform.java xmlns="urn:switchyard-config:transform:1.0" class="transformerClass" from="java:javaTypeName" to="java:javaTypeName"/>
</transforms>
<?xml version="1.0" encoding="UTF-8"?>
<switchyard xmlns="urn:switchyard-config:switchyard:1.0">
<composite xmlns="http://docs.oasis-open.org/ns/opencsa/sca/200912" name="jca-inflow-hornetq" targetNamespace="urn:switchyard-quickstart:jca-inflow-hornetq:0.1.0">
<service name="GreetingService" promote="GreetingComponent/GreetingService">
<interface.java interface="org.switchyard.quickstarts.jca.inflow.GreetingGateway"/>
<binding.jca xmlns="urn:switchyard-component-jca:config:1.0">
<selector:operationSelector.xpath xmlns:selector="urn:switchyard-component-common-selector:config:1.0" expression="//person/language"/>
<inboundConnection>
<resourceAdapter name="hornetq-ra.rar"/>
<activationSpec>